Hi, once a site I have to play video. For that I use .flv file which can be play with flash player.
The basic code is as follow :
<script src=”http://www.google.com/jsapi” language=”javascript” type=”text/javascript”></script>
<script language=”javascript” type=”text/javascript” >
google.load(“jquery”, “1.4.2″);
google.load(“swfobject”, “2.2″);
</script>
<style type=”text/css”>
/*Video page*/
.video-container,
.banner-container{
margin:0 0 15px 0;
}
</style>
<div id=”flvplayer”>
You need the latest version of Adobe Flash Player to view this video. <a href=”http://www.adobe.com/go/getflashplayer”>Click here to download.</a><br>
You see this message either because your Flash Player is outdated or because you disabled JavaScript in your browser.
<script type=”text/javascript”>
var flashvars = {};
flashvars.autoplay = “false”;
flashvars.autoreplay = “false”;
flashvars.video_url = ‘http://localhost/swfplayer/files/4b66c8e65bcbd.flv’;
flashvars.postroll_url = ‘http://localhost/swfplayer/swf/related.swf’;
flashvars.options = ‘http://localhost/swfplayer’;
flashvars.related_url = ‘http://localhost/swfplayer/67185/182770/’;
flashvars.image_url = ‘http://localhost/swfplayer/images/1.jpg’;
flashvars.link_url = ‘http://localhost/swfplayer/67185/’;
flashvars.video_title = ‘Young+girls’;
var params = {};
params.allowfullscreen = “true”;
params.allowScriptAccess = “always”;
params.wmode = “transparent”;
swfobject.embedSWF(‘http://localhost/swfplayer/swf/player.swf’, “flvplayer”, “608″, “481″, ’9.0.0′, ‘http://localhost/swfplayer/swf/expressInstall.swf’, flashvars, params, {});
</script>
</div>
</div>
You see this message either because your Flash Player is outdated or because you disabled JavaScript in your browser.
You must have to download the related files and folder click here.
