I need the code for inserting Streaming Flash into a website (or a way to do it)
e.g.
<stream src="http://domain.com/video.flv" />
If only it were that easy.
Thanks
| SitePoint Sponsor |
I need the code for inserting Streaming Flash into a website (or a way to do it)
e.g.
<stream src="http://domain.com/video.flv" />
If only it were that easy.
Thanks




Hi
You need a video player like JW FLV Media Player to play the .flv. And for adding the player to your page I would use SWFObject .
SWF Object does not work on .flv files, anything that works for .flv files?




Ok, I see, you have to have an SWF which plays an FLV I see




On the JW FLV Media Player site you'll find this code sample:
Code:<p id='preview'>The player will show in this paragraph</p> <script type='text/javascript' src='swfobject.js'></script> <script type='text/javascript'> var s1 = new SWFObject('player.swf','player','400','300','9'); s1.addParam('allowfullscreen','true'); s1.addParam('allowscriptaccess','always'); s1.addParam('flashvars','file=video.flv'); s1.write('preview'); </script>
Ok I can see that now thank you.
Got it all working, thanks for the tips, I was really confused at first but it was a simple solution.
Bookmarks