2011-08-06

flowplayer : how to add FLV Player in your site


What is Flow Player, is the player (built as swf) that able to run flv we wanted. As flash file, this need update flash, if you need the update flash and you play on local.. You need to download the Development.
If you unable to find it, ask me in here.. I will try to find for you


This tutorial need player from this site http://flowplayer.org/ I have problem, which I want to show movie on my site, What should I do.. And then I have this answer Youtube Answer

  • Upload your movie to Youtube
  • Or you can take from youtube
  • click Share. Please wait a Moment
  • Click Embed
  • Copy Paste to your site
For Bloogger I can use simple way:
  • click movie
  • search the movie
  • then show the movie

What if the movie is in my site? I place the movie in folder film and to make things short.. I will share the script (simple one)
<script src='flowplayer-3.2.6.min.js' ></script>
<a href="http://pseudo01.hddn.com/vod/demo.flowplayervod/flowplayer-700.flv"
style="display:block;width:600px;height:330px"  
id="player"> </a> 
<script>
flowplayer("player", "film/flowplayer-3.2.7.swf",{
clip: {  
// all videos under this baseUrl support pseudostreaming on the server side  
url: 'film/14.flv' 
}
});
</script>

let's review the script!

<script src='flowplayer-3.2.6.min.js' > </script>

This is can be found if you download the file from the site. Make sure you type it first or the full script will Collapse

<a>...</a>

Type all include the id etc.. This is the movie place

<script> flowplayer("player", "film/flowplayer-3.2.7.swf",{

this is the main script for player, the second must type where the player.swf place.. 

clip: { // all videos under this baseUrl support pseudostreaming on the server side url: 'film/14.flv' }


change film/14.flv into your movie. There are soo many option in here.. But I will let you try it yourself.. Okay.. this not the final tutorial for jwplayer, but at least this good for newbie

Tidak ada komentar: