View Full Version : how to load a video?
3pepe3
05-08-2007, 08:56 AM
well i don't know anything about this subject and today I need to put just one video into one page.
So it's posible to load some mpg and then buffer this video?
first of all i want to know how is the mothod to load videos...
Thanks in advance...
:p
Paul Ferrie
05-08-2007, 08:58 AM
You can only load either swf or flv into flash. you can not load avi,mpeg,mov directly into flash.
So what you need to do is convert your video to flv.
3pepe3
05-08-2007, 09:07 AM
ok and thanks paul... now i'm converting the file into FLV. So in a few minutes this will be done.
Sorry for the noob question but i never try to load a video :/
Paul Ferrie
05-08-2007, 09:09 AM
Dont worry about it. i have been there myself.:)
3pepe3
05-08-2007, 09:13 AM
but i have some erros in the encoding!?
2007-05-08 10:14:32 : ENCODING FAILED
- Source file: C:\Documents and Settings\Mélie\Bureau\toys\street_gliderz_LOW.mpg
- Output file: C:\Documents and Settings\Mélie\Bureau\toys\street_gliderz_LOW.flv
- Video codec: On2 VP6
- Alpha channel encoded: no
- Deinterlace: no
- Frame rate: 0 fps
- Key frame interval: 0 frames
- Video data rate: 400 kbps
- Width: 0 pixels
- Height: 0 pixels
- Audio codec: MPEG Layer III (MP3)
- Audio data rate: 96 kbps (stereo)
- FLV duration: 00:00:00
- Encoding time: 00:01:33
================================================== ==================
An internal application error occurred.
================================================== ==================
so then when tvideo is converted how is the constucction or method to load the FLV (loadClip?????)
Paul Ferrie
05-08-2007, 09:15 AM
I have no idea about the errors your getting.
What i can tell you is use the flvPlayback component to load your flv. Checkt the flash doc's for example code. It pretty easy to get the flv up and running.
3pepe3
05-08-2007, 09:26 AM
:p i didn't know where to start now at least now i have some points :D... i think this iwould be all the necesary info.
Thanks
Pepe :)
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.