In this circumstance, flash video format FLV is hot. Also, because of the complete support from popular video-sharing websites like YouTube, Google Video, Yahoo! Video and so on, it’s hotter. However, FLV is not the only format that works with flash player. The most recent public releases of flash player also support H.264 video, such as H.264 coded MP4, MOV, 3GP and 3G2 due to the fact that although the flash video format itself is open, the codecs used with it are patented. And flash video FLV files usually contain material encoded with codecs.
The following tutorial shows exactly how to create a Web FLV player using H.264 coded files. Let’s have a look:
Step 1: Launch Moyea Web Player(which is a handy flash video player creator and customizer) and input H.264 coded files(H.264 coded MOV for example) or other flash video formats.(Click to learn how to convert to flash videos for free.)

a. Click “Style” tab to choose a player skin.




Step 3: On “Publish” interface, choose a publish path, and then click “Publish” button to publish the customized player.

<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>
It’s even easier now by just using the free FLV player embedded code and all you have to do is to replace the video link you are going to play inside the player. Enjoy!
0 komentar:
Post a Comment