// = 0) { if (ua.indexOf("WebKit") >= 0) { Ok= true; //$('preview').innerHTML = ''; //$('#preview').html(''); } } //alert(ua); if ((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)) || (navigator.userAgent.match(/iPad/i)) || (navigator.userAgent.match(/iPad/i))) { $('#screen').html(''); Ok= true; //document.write(); } if ((navigator.userAgent.match(/Android/i))) { $('#screen').html(''); Ok= true; //document.write(); } if(!Ok) { // var s2 = new SWFObject('/assets/player.swf','ply','560','380','9','#ffffff'); s2.addParam("allowfullscreen","true"); s2.addParam("wmode","transparent"); s2.addVariable("autostart","true"); s2.addVariable("repeat","list"); s2.addVariable('autoscroll','false'); s2.addVariable('shuffle','false'); s2.addParam('allowscriptaccess','always'); s2.addVariable('bufferlength','5'); s2.addVariable("enablejs","true"); s2.addVariable('javascriptid','plyr'); s2.addVariable('streamer','rtmp://155.obj.netromedia.com/MobileStream'); s2.addVariable('file','MobileStream'); //s2.addVariable("displayheight","344"); s2.addVariable("backcolor","0x000000"); s2.addVariable("frontcolor","0xCCCCCC"); s2.addVariable("lightcolor","0x557722"); //s2.addVariable("width","430"); //s2.addVariable("height","344"); s2.addVariable("type","video"); s2.addVariable("stretching","exactfit"); s2.write('screen'); //alert(navigator.userAgent); } } // ]]>
|
//