|
-
Create a video player for embedded FLV
So I want to embed a FLV in my flash so that I just have ONE SWF that contains everything.
I know if I say "load external video with playback component" I will end up with a swf, html and the flv- this is NOT what I want so please don't ask me why I'm not using this option.
"Embed FLV in SWF and play in timeline" is EXACTLY what I want- the result is just a single SWF.
Here is the question: How do I get a video player if I embed a FLV in flash?
I know if I load the video external I will get some nice players - exactly what I want. How do I get a player if the video is embedded? Are there any coded player templates on the net? I couldn't find anything on google I could use but I've to admit I'm not too good at AS.
Thanks A LOT for your help
-
If you do decide to embed the .flv video directly in the main timeline... the .swf is the video player... just like you want. But it's a video player without any controls, stop, start, pause, mute, etc.
You would create those control buttons just like you would any other timeline animation buttons. I suggest you review some basic Flash control buttons and build a very simple timeline animation (NOT your video) and get you controls built and working before adding the actual video.
Lots of stuff available on the Internet:
http://flashexplained.com/actionscri...-actionscript/
http://www.youtube.com/watch?v=QGIDqLsZGkA
Remember that it's the actionscript behind the button that does all the work, the physical appearance or location of the button has nothing what-so-ever to do with the action that button does... so you'll need to create all your own control buttons.
That being said... you do know that Adobe recommends that you do NOT embed:
WARNING: Embedded deployment is likely to cause audio synchronization issues. This option is ONLY recommended for short video clips with no audio track.
So it's not just a few Web Developers saying "Don't Embed"...
I have on rare occation embedded video directly into the timeline with no audio sync problems.... but I set the Flash document bitrate to exactly match that of the original video. So if the video was shot at 29.97 frames per second, then the Flash doc framerate must also be 29.97 fps
When all is said and done... all your buttons created from scratch, all the actionscript written and tested... you might just decide that it would have been a whole lot easier to have just used a FLVPlayback component... but that's your choice.
Best wishes,
Video Man
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|