<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>My video player</title> <!-- ::::::::::::::::::::::::::::::::::: --> <!-- ::::::: FLV Player (part 1/2)::::: --> <!-- ::::::::::::::::::::::::::::::::::: --> <script type="text/javascript" src="/flashplayer/swfobject.js"></script> <script type="text/javascript"> var flashvars = {}; /* flv player parameters */ flashvars.playerpath = ""; // do not use relative paths! This is just a local example. flashvars.contentpath = ""; // Use http://www.example.com/myfolder or /myfolder instead flashvars.video = "/flashplayer/bitjoe.flv"; flashvars.preview = "/images/bj-video.jpg"; flashvars.skin = "skin-applestyle.swf"; flashvars.skincolor = "0x2c8cbd"; flashvars.skinscalemaximum = "1"; flashvars.autoscale = "true"; // set autoscale to false to use width and height flashvars.videowidth = "640"; // "640"; flashvars.videoheight = "480"; // "480"; flashvars.captions = "demo-captions.xml"; //flashvars.preroll = "demo-ad.flv"; /* end */ var params = {}; params.scale = "noscale"; params.allowfullscreen = "true"; params.salign = "tl"; var attributes = {}; attributes.align = "left"; /* embed flv player */ // adapt the path to flvplayer.swf and expressInstall.swf // adapt the display size of the flash file swfobject.embedSWF("/flashplayer/flvplayer.swf", "videoPlayer", "650", "530", "9.0.28", "/flashplayer/expressInstall.swf", flashvars, params, attributes); /* end */ </script> <!-- :::::::::::::::::::::::::::::: --> <!-- :::::::::::::::::::::::::::::: --> <!-- :::::::::::::::::::::::::::::: --> </head> <body> <center> <div id="wrap" style="height:1000px"><!--grid container--> <!-- <h1>FLV Flash Fullscreen Video Player</h1> <hr/> <h2>1. FLV Player Demo</h2> <h3>Embed FLV Player using SWFObject</h3> <p>This examples show how to embed the FLV Player using SWFObject.</p> --> <div id="videoPlayer" style="margin:0px"> <p>This content requires the Adobe Flash Player.</p> <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a> </p> </div> <!-- :::::::::::::::::::::::::::::: --> <!-- :::::::::::::::::::::::::::::: --> <!-- :::::::::::::::::::::::::::::: --> <!-- :::::::::::::::::::::::::::::: --> <!-- Footer <div id="footnotes" style="clear:both"> <p><a href="http://www.video-flash.de/" title="www.video-flash.de" rel="nofollow">www.video-flash.de</a>, Florian Plag</p> </div> --> </div><!--end grid container--> </center> </body> </html>