Home » » How to make a video auto play on web page

How to make a video auto play on web page

Written By anggit13 on Wednesday, March 25, 2009 | 1:07 AM

Many people feel confused on how to make a video auto play on a web page when the page starts to load. For sometimes the <param name="play" value="true"> has obviously been set but the video still does not auto play. Sometimes even you have done a lot of settings, but still fail, and several hours are spent on it.

Now I know there is an easy solution to this problem. Just a few clicks and you can easily make a video auto play on a web page. Moreover, with this solution, you can also make your own flash video player for your website, and add advertisements and watermark to your videos, it really kill two birds with one stone.



Advertisement by Leawo Free Video Accelerator - Watch and download online videos in high speed without buffering:
Watch Hot Hollywood movies for free



1. Download Moyea web player (it is free), launch it in your PC. Moyea web player pro is a quick and easy solution for making a flash video player for your website.



2. Input flash videos into Moyea Web Player. If your video is not FLV, you can use the four converters that recommended in Encoder tab to convert the video file to FLV or MP4, MOV, 3GP, 3G2 with H.264 codec that can be supported by Adobe Flash Player.



3. Click “Template” menu>>Options>>Playback settings, here uncheck “Pause at first frame”.



4. Customize the skin of the flash video player (optional).







5. Click "Publish" button to generate a web FLV player and other related files (Note: if you want to get a separate playlist file, please check "Out File")



6. Upload all the published files except the index.html file, to the same folder of your web server.



7. Embed the generated player in your webpage with the embed code below(Add JavaScript in blogger (blogspot) post):

<script type="text/javascript" src="swfobject.js"></script>

<div id="flashcontent">Player will show here</div>

<script type="text/javascript">

var so = new SWFObject('mwplayer.swf','player','500','450','9');

so.addParam('wmode','opaque');

so.addParam('quality','high');

so.addParam('allowfullscreen','true');

so.addParam('allowscriptaccess','always');

so.write("flashcontent");

</script>




Note: 1. mwplayer.swf is the actual flash video player. If it resides in another directory, then point to it with a relative path (e.g. video/mwplayer.swf) or an absolute path (e.g. http://www.yourdomain.com/video/mwplayer.swf ).



8. The FLV player will appear on your website and the FLV can auto play when the page starts to load.



Share this article :

0 komentar:

Post a Comment

Powered by Blogger.
 
Support : Best Phone Reviews | Multimedia Zone
Copyright © 2013. Update News Smartphones Gadget and Android - All Rights Reserved
Template Created by Creating Website Published by Mas Template
Proudly powered by Blogger