Introduction
This Article Contains the way how to play video online like youtube and it's enabled you to play Videos in different extensions like .MP4 , .FLV .
Using the code
<script type="text/javascript">
var flashvars = {};
var videoWidth = 560;
var videoHeight = 304;
flashvars.videoFilePath = '<%=vpath%>'
flashvars.videoBufferTime = "5"
flashvars.autoStartVideoPlay = "no";
flashvars.autoRepeat = "no";
flashvars.videoStartVolume = "75";
flashvars.showAdvertisementVideo = "no";
flashvars.advertisementVideoPath = "videos/adv_video.flv";
flashvars.titleTxt = "<font color='#9999FF' size='20'>SUPPORT HTML TAGS</font>";
flashvars.descriptionTxt = "Some description text will come here. <font color='#00FFFF'>Support HTML Tags!</font> <a href='http://www.activeden.net' target='_blank' >Click Here</a>";
flashvars.logoDisplay = "yes";
flashvars.logoImagePath = "images/logo.png";
flashvars.logoPlacePosition = "top-left";
flashvars.logoMargin = "20";
flashvars.logoWidth = "80";
flashvars.logoHeight = "47";
flashvars.logoTransparency = "50";
flashvars.videoBarColorName = "red";
flashvars.volumeBarColorName = "red";
flashvars.coverImageDisplay = "yes";
flashvars.coverImagePath = "images/cover_anim.swf";
flashvars.hideControlPanelAndMouse = "yes"
flashvars.hideTime = "5"
var params = {};
params.scale = "noscale";
params.allowfullscreen = "true";
params.salign = "tl";
params.bgcolor = "000000";
var attributes = {};
swfobject.embedSWF("video_player8_flashvars.swf", "myContent", videoWidth, videoHeight, "9.0.0", false, flashvars, params, attributes);
</script>