Re: [Flashcoders] FLV: reliable height&width dimensions

2008-11-11 Thread jonas magnusson
Hi, I have found a bug in the VideoPlayerClass regarding metadata, that can be provoked when using several video players (about 6) on the same page, and then like every 8 refresh or so, the data will disappear in one or several players. Here is some information about how i solved it: The bug app

Re: [Flashcoders] FLV: reliable height&width dimensions

2008-11-10 Thread Juan Delgado
Even if it does, you would have to wait till the onMetaData event to layout your interface, something that's not nice. Sometimes you even start with a static image until the user clicks on the video and only then you begin to load. Again, being able to access width and height as in jpgs would be e

Re: [Flashcoders] FLV: reliable height&width dimensions

2008-11-10 Thread sebastian
Potentially wrong suggestion, but what happens if you just don't specify a size, won't it default to the FLV's inherent size? I don't have the time to test this myself to see if its true, but I could imagine this being the case. If the size is then too big, you can check this on a condition, a

Re: [Flashcoders] FLV: reliable height&width dimensions

2008-11-10 Thread Meinte van't Kruis
>>>>>> doesn't work for me, I'm afraid). > >>>>>> > >>>>>> I haven't found any better way of solving the problem, to be honest. > >>>>>> So I'm all ears. > >>>>>> > >>>

Re: [Flashcoders] FLV: reliable height&width dimensions

2008-11-10 Thread Juan Delgado
t; wrote: >>>>>> >>>>>>> No, I'm actually using the Video object along with the Netstream class. >>>>>>> Wonder how that >>>>>>> ready event gets fired though, wouldn't be surprised if it's also fired

Re: [Flashcoders] FLV: reliable height&width dimensions

2008-11-10 Thread Hans Wichman
wrote: >>>>> >>>>>> No, I'm actually using the Video object along with the Netstream class. >>>>>> Wonder how that >>>>>> ready event gets fired though, wouldn't be surprised if it's also fired >>>>>> >

Re: [Flashcoders] FLV: reliable height&width dimensions

2008-11-10 Thread Meinte van't Kruis
t;> ready event gets fired though, wouldn't be surprised if it's also fired >>>>> >>>> on a >>>> >>>>> buffer full, either >>>>> that or using timers (amuse yourself and watch the VideoPlayer and >>>>&g

Re: [Flashcoders] FLV: reliable height&width dimensions

2008-11-10 Thread Meinte van't Kruis
in the flash folder, count the number of timers used ;)) >>>> >>>> On Mon, Nov 10, 2008 at 1:57 PM, Muzak <[EMAIL PROTECTED]> wrote: >>>> >>>> If you're using the FLVPlayback component, use the "ready" event: >>>>> &g

Re: [Flashcoders] FLV: reliable height&width dimensions

2008-11-10 Thread dr.ache
, use the "ready" event: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/video/FLVPlayback.html#event:ready - Original Message - From: "Meinte van't Kruis" < [EMAIL PROTECTED]> To: "Flash Coders List" Sent: Monday, November 10, 2

Re: [Flashcoders] FLV: reliable height&width dimensions

2008-11-10 Thread sebastian
]> wrote: If you're using the FLVPlayback component, use the "ready" event: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/video/FLVPlayback.html#event:ready - Original Message - From: "Meinte van't Kruis" < [EMAIL PROTECTED]> To

Re: [Flashcoders] FLV: reliable height&width dimensions

2008-11-10 Thread Juan Delgado
gt;> >> >> >> - Original Message ----- From: "Meinte van't Kruis" <[EMAIL PROTECTED]> >> To: "Flash Coders List" >> Sent: Monday, November 10, 2008 11:56 AM >> Subject: [Flashcoders] FLV: reliable height&width di

Re: [Flashcoders] FLV: reliable height&width dimensions

2008-11-10 Thread Meinte van't Kruis
; event: > >> > >> > http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/video/FLVPlayback.html#event:ready > >> > >> > >> > >> - Original Message - From: "Meinte van't Kruis" < > [EMAIL PROTECTED]> >

Re: [Flashcoders] FLV: reliable height&width dimensions

2008-11-10 Thread Meinte van't Kruis
ml#event:ready > > > > - Original Message - From: "Meinte van't Kruis" <[EMAIL PROTECTED]> > To: "Flash Coders List" > Sent: Monday, November 10, 2008 11:56 AM > Subject: [Flashcoders] FLV: reliable height&width dimensions > >

Re: [Flashcoders] FLV: reliable height&width dimensions

2008-11-10 Thread Muzak
h Coders List" Sent: Monday, November 10, 2008 11:56 AM Subject: [Flashcoders] FLV: reliable height&width dimensions Hi Folks, I've been having trouble reliably getting FLV dimensions with both progressive and streaming files. I'm current using the buffer full event to resize

[Flashcoders] FLV: reliable height&width dimensions

2008-11-10 Thread Meinte van't Kruis
Hi Folks, I've been having trouble reliably getting FLV dimensions with both progressive and streaming files. I'm current using the buffer full event to resize the video proportionally, therefore needing videoHeight and videoWidth. The problem is that once every now and again those dimensions star