//тут подключаем jQuery <script type="text/javascript" src="uppod_api.js"></script> <div id='radio'></div> <object type="application/x-shockwave-flash" data="uppod.swf" id="radio" width="500" height="200"> <param name="bgcolor" value="#ffffff" /> <param name="allowFullScreen" value="true" /> <param name="allowScriptAccess" value="always" /> <param name="wmode" value="transparent" /> <param name="movie" value="uppod.swf" /> <param name="flashvars" value="st=web.txt&file=http://ip:8000/nonstop&uid=radio" /> </object> <div id="play">Play</div> <div id="pause">Pause</div> <script type="text/javascript" src="player.js"></script>
$(document).ready(function() { uppodEvent('radio','init'); $('#play').click(function() { uppodSend('radio','play'); }); });
has no method 'sendToUppod'