homepage Welcome to WebmasterWorld Guest from 54.161.166.171
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
How to display a .swf video?
With play/pause type player, on a webpage
DanielGardner




msg:3050306
 6:00 pm on Aug 17, 2006 (gmt 0)


Hello and thank you for having a forum for this kind of support.

My situation is thus: I have quite a number of one-hour WMV files of church preaching. I would like to make these available for watching at my father's domain. After researching, I see the flash format would fit my needs, but not having the Flash programs itself, I used a roundabout way to convert the WMV files to AVI and then those to .flv using the free Riva encoder. (Riva can't convert WMV version 9, hence the convert to AVI.) I then found code to call a flvplayer.swf and embed the flv in my web page, all very nicely. The flv plays in a simple player, giving play/pause control to the audience.

However, I thought perhaps my job was getting easier when I purchased the AVS Video Tools package, as it permits direct conversion of any video file to the .swf format.

And this is where I ran into a dead end. My knowledge of how flash works is just now begining, and I have NO idea how to display this .swf file on my webpage. I need it to show up in a player with play/pause control, but in my searches all across the internet, I have found no such way.

If someone sees where I am messing up, please illuminate me. I'm a noob in this whole flash media stuff, but hope to learn from you all. If you have ANY advice, please wack me along side the head with it.

Thanks for reading!

Daniel

 

jay5r




msg:3050389
 6:41 pm on Aug 17, 2006 (gmt 0)

You'll need to program the player controls into the swf, or better yet, use a generic swf movie which acts as a container/controller for the other swf files (the page would call the container and the container would call the swf movies that you've had converted). It's pretty basic stuff - anyone who's versed in Flash can do what I'm talking about...

DanielGardner




msg:3050456
 7:20 pm on Aug 17, 2006 (gmt 0)


Thank you for the reply.

I'm not versed in Flash (don't even have the program itself) but I'm willing to learn how to do this.

To program these controls "into the swf" I would need either the Flash program or the program called Swish, correct? Does the same go for creating a generic swf movie? Or could I perhaps just open up a file in a text editor and code it from there? (Sounds noobish even to me. :^) )

In your opinion, do you believe in my case - what with the hour long videos - my most bandwidth eficient option is to stick with .flv?

Thanks!

jay5r




msg:3050496
 7:42 pm on Aug 17, 2006 (gmt 0)

Flash is not a simple program to get your mind around. Personally, I'd hire someone to do the work. It shouldn't take them all that long to do.

DanielGardner




msg:3050514
 8:00 pm on Aug 17, 2006 (gmt 0)

Thanks again jayr5 for the input.

garann




msg:3050516
 8:02 pm on Aug 17, 2006 (gmt 0)

I've been writing my own Flash video player, which takes a URL to an FLV file as a parameter when it opens, and in the process I've run into lots of people with similar players. I'd think some must be available for download and use? I'd search for "flv player" or "flash video player" and see if you can find one that will take a URL.

If not, Flash 8 provides a lot of tools for controlling video, but it might be a lot to jump into. On the other hand, everyone and their brother seems to be doing this right now, so tutorials abound. :)

DanielGardner




msg:3050539
 8:21 pm on Aug 17, 2006 (gmt 0)

Garann, are you speaking of a player that plays .flv only? I have one the flvplayer (here's what I mean: [obreiroaprovado.com...]

Is there the ability for a flv player to also play a .swf file /just/ as easily?

Thank you!

garann




msg:3050565
 8:36 pm on Aug 17, 2006 (gmt 0)

Oh I'm sorry, I misunderstood the question. Because SWF is loaded differently than FLV, I think you'd certainly need a different player. Surely some must exist, but I don't know where... Out of curiosity, why are you converting to SWF if it's not giving you controls or other features and you already have the tools to convert to FLV?

DanielGardner




msg:3051475
 12:47 pm on Aug 18, 2006 (gmt 0)

Garann, thanks for the info. The only player I have found since the posting to this thread is the WimpyPlayer, which isn't free, but at least it plays both .flv and .swf.

To answer your question, I haven't quite started converting to .swf. The reason I would /like/ to convert to .swf is because this program I have (AVS video tools) converts any file directly to swf, (but does not convert to flv.) The only way I can convert to flv is to use Riva's Free Encoder, and as of yet it doesn't support WM version 9 - which is the format all my vids are in. So, the process to convert to .flv takes much longer because I first convert the WMVs to AVI using AVS and then convert the AVI to flv using Riva.

It would be much easier if I could just use the SWF that my converter creates.

Thanks for your time!

garann




msg:3051836
 4:58 pm on Aug 18, 2006 (gmt 0)

Ah, gotcha. Thanks for the explanation. Now have to go find out if the encoder I'm using - ffmpeg - supports Windows Media 9. :)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved