Revision: 27860
Updated Code
at June 25, 2010 07:18 by sftsnipplr
Updated Code
<script type="text/javascript"> //Embed the player //This is only called if the flash detection script is true function embed() { //File type var fileType = "<?php echo($fileType); ?>"; var defaultSkin = "skins/five/five.zip"; //Embed the player var so = new SWFObject('includes/licensed/player-licensed.swf', 'player', '640', '480', '9'); so.addParam('allowfullscreen','true'); so.addParam('allowscriptaccess','always'); so.addParam('wmode','opaque'); if (fileType == "xml"){ so.addVariable('playlistfile', '<?php echo($sFile); ?>&skin=' + defaultSkin); } else { so.addVariable('file','<?php echo($sFile); ?>&skin=' + defaultSkin); so.addVariable('title', 'DeSales University Media Player'); so.addVariable('description', 'File: <?php echo($sFile); ?>'); } so.addVariable('bufferlength', '4'); so.addVariable('logo.file', 'http://deit.desales.edu/MediaPlayer/images/media_logo_watermark.png'); so.addVariable('streamer','rtmp://mediasrv01.desales.edu/vod'); so.addVariable('plugins', 'gapro-1'); so.addVariable('gapro.accountid', 'UA-15284864-3'); so.addVariable('gapro.trackstarts', 'true'); so.addVariable('gapro.trackpercentages', 'true'); so.addVariable('gapro.tracktime', 'true'); so.write('main_player'); }; </script>
Revision: 27859
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at June 25, 2010 07:12 by sftsnipplr
Initial Code
<script type="text/javascript"> //Embed the player //This is only called if the flash detection script is true function embed() { //File type var fileType = "<?php echo($fileType); ?>"; var defaultSkin = "skins/five/five.zip"; //Embed the player var so = new SWFObject('includes/licensed/player-licensed.swf', 'player', '640', '480', '9'); so.addParam('allowfullscreen','true'); so.addParam('allowscriptaccess','always'); so.addParam('wmode','opaque'); if (fileType == "xml"){ so.addVariable('playlistfile', '<?php echo($sFile); ?>&skin=' + defaultSkin); } else { so.addVariable('file','<?php echo($sFile); ?>&skin=' + defaultSkin); so.addVariable('title', 'DeSales University Media Player'); so.addVariable('description', 'File: <?php echo($sFile); ?>'); } so.addVariable('bufferlength', '4'); so.addVariable('logo.file', 'http://deit.desales.edu/MediaPlayer/images/media_logo_watermark.png'); so.addVariable('streamer','rtmp://mediasrv01.desales.edu/vod'); so.addVariable('plugins', 'gapro-1'); so.addVariable('gapro.accountid', 'UA-15284864-3'); so.addVariable('gapro.trackstarts', 'true'); so.addVariable('gapro.trackpercentages', 'true'); so.addVariable('gapro.tracktime', 'true'); so.write('main_player'); }; </script>
Initial URL
http://deit.desales.edu/MediaPlayer
Initial Description
Initial Title
DeSales JW Player Production Embed Code
Initial Tags
server, flash
Initial Language
JavaScript