How to Embed FLV/SWF files inside HTML for video streaming?

  • sanfran_chris1915
  • Born
  • Born
  • sanfran_chris1915
  • Posts: 2

Post 3+ Months Ago

I have been struggling with this for 2 days. I am trying to get a DVD (personal) to stream on my web site. Ultimately, here is how I would like the video to display:

http://www.dropshots.com/day.php?us...10&ctime=184825

Here is what I have done so far:

- Converted dvd to .avi files (4 of them)
- Converted .avi file to .flv and .swf files (I have 2 copies of both in different formats)


I have found a TON of utilities to transfer my files to different formats apparently.

Here is a site that allowed me to generate code with the media file embedded: http://cit.ucsf.edu/embedmedia/step...mediatype=Flash

Then there is Riva Producer that allows me to FTP the video files (either .FLV or .SWF) to my web server...

These are all fantastic tools, but they are not quite helping me out. I am a beginner at web development and have been trying to use different free tools to post video to a number of different sites. That is where I found DropShots and Jumpcut - two services that allow you to upload video and have it stream.

The problem I am having is that I just want to generate code to my website that when launched or executed, the video will play on-demand and stream, rather than download and play.

*** The website is hosted by Yahoo Small Business.

So, my question, how to do somehow either use my .avi, .flv or .swf files and add to my webserver...then navigate to that page and have a video player waiting for me...when I click Play....it will stream the video rather than download it.

If anyone knows, please help me out. I would really appreciate it!

Thanks!
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

If you are using Flash 8 Professional, the FLVPlayback Component makes it really easy. That's what I use.
  • sanfran_chris1915
  • Born
  • Born
  • sanfran_chris1915
  • Posts: 2

Post 3+ Months Ago

Is there any other way to do this without buying more software? I would really just like to upload my flv or swf files to my webserver and then using HTML code to open a flash player to play/stream my video.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

You can't display flv's on a web page without an FLV player of some sort independently. I'm not certain how older versions of flash handle FLV's, but Flash 8 Pro has that built in. The only way you can stream is to get the FLV on a Flash stream server which is going to cost you money, or to upgrade flash which is going to cost you money.

Here's an example how the Flash 8 pro video compnent streams
http://www.alaron-nuclear.com/devsite/g ... trol4.html
  • pmwebdesign
  • Novice
  • Novice
  • User avatar
  • Posts: 24

Post 3+ Months Ago

I know this has been here for a while but if you are still interested I did this.

at http://www.arronsfootball.co.uk I play flv files using a free flvplayer I found somewhere online, you can get it off me at

http://www.arronsfootball.co.uk/flvplayer.swf,

simply put the following html in your page changing the size and replacing **videlocation** with the location of your flv file.

It's a very simple player but allows you to scroll through the video. You can see it in action here with a very unlucky German football (soccer) fan

http://arronsfootball.co.uk/video.php?i ... German_Fan

Hope this helps,

Joseph

Code: [ Select ]
<object type="application/x-shockwave-flash" width="400" height="350"

wmode="transparent" data="flvplayer.swf?file=**vid location**&autoStart=true">

<param name="movie" value="flvplayer.swf?file=**vid location**&autoStart=true" />

<param name="wmode" value="transparent" />

</object>
  1. <object type="application/x-shockwave-flash" width="400" height="350"
  2. wmode="transparent" data="flvplayer.swf?file=**vid location**&autoStart=true">
  3. <param name="movie" value="flvplayer.swf?file=**vid location**&autoStart=true" />
  4. <param name="wmode" value="transparent" />
  5. </object>
  • casablanca
  • Proficient
  • Proficient
  • User avatar
  • Posts: 481

Post 3+ Months Ago

Try JW FLV Media Player - it's an open source FLV player written in Flash.
Moderator Remark: redirect replaced with destination url
  • Fockyerdoder
  • Born
  • Born
  • Fockyerdoder
  • Posts: 1

Post 3+ Months Ago

Code: [ Select ]
<embed src ="FlashPlayer.swf?file=FlashVideo.flv" width="800" height="600" allowfullscreen="true" />




Replace FlashPlayer.swf with the url of the flash player ur using, replace FlashVideo with the url of the flash video, and change the width and height to whatever u want.
  • Bill_Thompson
  • Student
  • Student
  • User avatar
  • Posts: 77

Post 3+ Months Ago

casablanca wrote:
Try JW FLV Media Player - it's an open source FLV player written in Flash.


By the way, this was the best solution for me.

This was the only one that worked too.

And you cannot beat free.

Plus they have this wizard on their site so you can make sure you did not mess up and put in the wrong parameters and you can test to see if you got it right before you put it on your site. I did this one as an example and test http://www.gelsana.com/promise.html
Moderator Remark: redirect replaced with destination address

Post Information

  • Total Posts in this topic: 8 posts
  • Users browsing this forum: No registered users and 17 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.