Re: [Flashcoders] seek() in VideoPlayer class
I created my own with Netstream and it worked like a charm. Thanks! /Jamie On 4/24/07, Steven Sacks <[EMAIL PROTECTED]> wrote: As noted in the method documentation, seek() does not go to the timecode you pass. It goes to the nearest keyframe to the timecode you pass. Head over to YouTube and drag the seekbar around on a video and you'll see it jump between keyframes (you can see the time jump to those keyframes while you drag, as well). It's a limitation of FLVs. val wrote: > Does this bug also affect seek calls that are not made on some kind of > interval? I'm seeing some odd behavior when calling seek() on an > FLVPlayback > component right now. If it's due to this bug, that would be good to know. > > If you need more info: > I'm calling seek() on a button release and at times the FLV will go back to > the beginning of the FLV instead of seeking to the time passed in the > seek() > call. > > Thanks! > > > On 4/23/07, Steven Sacks <[EMAIL PROTECTED]> wrote: > >> The FLV component (both 7 and 8) are totally messed up when it comes to >> calling seek manually on an interval or enterFrame. I mean, it's pretty >> ridiculous that such an obvious bug got through QA. Allegedly, there is >> an undocumented public method that exposes the true seek method of the >> FLVPlayback component, but I suggest the following. >> > ___ > [email protected] > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com ___ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] seek() in VideoPlayer class
As noted in the method documentation, seek() does not go to the timecode you pass. It goes to the nearest keyframe to the timecode you pass. Head over to YouTube and drag the seekbar around on a video and you'll see it jump between keyframes (you can see the time jump to those keyframes while you drag, as well). It's a limitation of FLVs. val wrote: Does this bug also affect seek calls that are not made on some kind of interval? I'm seeing some odd behavior when calling seek() on an FLVPlayback component right now. If it's due to this bug, that would be good to know. If you need more info: I'm calling seek() on a button release and at times the FLV will go back to the beginning of the FLV instead of seeking to the time passed in the seek() call. Thanks! On 4/23/07, Steven Sacks <[EMAIL PROTECTED]> wrote: The FLV component (both 7 and 8) are totally messed up when it comes to calling seek manually on an interval or enterFrame. I mean, it's pretty ridiculous that such an obvious bug got through QA. Allegedly, there is an undocumented public method that exposes the true seek method of the FLVPlayback component, but I suggest the following. ___ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] seek() in VideoPlayer class
Does this bug also affect seek calls that are not made on some kind of interval? I'm seeing some odd behavior when calling seek() on an FLVPlayback component right now. If it's due to this bug, that would be good to know. If you need more info: I'm calling seek() on a button release and at times the FLV will go back to the beginning of the FLV instead of seeking to the time passed in the seek() call. Thanks! On 4/23/07, Steven Sacks <[EMAIL PROTECTED]> wrote: The FLV component (both 7 and 8) are totally messed up when it comes to calling seek manually on an interval or enterFrame. I mean, it's pretty ridiculous that such an obvious bug got through QA. Allegedly, there is an undocumented public method that exposes the true seek method of the FLVPlayback component, but I suggest the following. ___ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] seek() in VideoPlayer class
Thank you for all of the suggestions, I am using a "home grown" player based on the NetConnection and NetStream classes. Can anyone confirm if they too notice a stutter when playing back flv files within the Flash player on Vista? Thank you. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kelly Smith Sent: Monday, April 23, 2007 1:31 PM To: [email protected] Subject: Re: [Flashcoders] seek() in VideoPlayer class I'd like to essentially echo what Mr. Sacks says: Use the NetConnection and NetStream classes to roll your own player. Not only can you employ bug-free seek supporting, but you can also create a faux-streaming player with a little java or php that will open the doors to many possibilities. It will take a little bit more time, at first, but in the end you'll be a better coder and have a better player. Check out Jeroen Wijering's wonderful open source flv player for a good grounding in the basics-- http://www.jeroenwijering.com/?item=Flash_Video_Player --and move from there. Win-win. - k On 4/23/07, Flash Coder <[EMAIL PROTECTED]> wrote: > > Hi, > > I am building my own flv videoplayer with the mx.video.VideoPlayer class. > > I have run into a problem with my draggable slider for seeking back > and forth my movie. > > The problem is: > > I'm calling the seek() method every time the mouse's x position change. > > It works fine if I just click around the slider. But if I start > dragging it, the class registers every single little seek call, and of > course act upon every single one of them. This slows the seeking down > a lot. If I just drag it back and forth a couple of times, I can sit > back and wait up to 30 seconds to watch it go through every seek jump. > > What am I doing wrong? I tested the FLV playback component. It works a > little better, but far from as good as the YouTube flv player. > > Please help me out. > Jamie > ___ > [email protected] > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] seek() in VideoPlayer class
I'd like to essentially echo what Mr. Sacks says: Use the NetConnection and NetStream classes to roll your own player. Not only can you employ bug-free seek supporting, but you can also create a faux-streaming player with a little java or php that will open the doors to many possibilities. It will take a little bit more time, at first, but in the end you'll be a better coder and have a better player. Check out Jeroen Wijering's wonderful open source flv player for a good grounding in the basics-- http://www.jeroenwijering.com/?item=Flash_Video_Player --and move from there. Win-win. - k On 4/23/07, Flash Coder <[EMAIL PROTECTED]> wrote: Hi, I am building my own flv videoplayer with the mx.video.VideoPlayer class. I have run into a problem with my draggable slider for seeking back and forth my movie. The problem is: I'm calling the seek() method every time the mouse's x position change. It works fine if I just click around the slider. But if I start dragging it, the class registers every single little seek call, and of course act upon every single one of them. This slows the seeking down a lot. If I just drag it back and forth a couple of times, I can sit back and wait up to 30 seconds to watch it go through every seek jump. What am I doing wrong? I tested the FLV playback component. It works a little better, but far from as good as the YouTube flv player. Please help me out. Jamie ___ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] seek() in VideoPlayer class
I know, I know :( I still have my xp box at least but wanted to do full lappy here at home and un-tether myself from my desk and unfortunately at the time Vista seemed like a good idea. Was I the only sucker? :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jon Bradley Sent: Monday, April 23, 2007 12:37 PM To: [email protected] Subject: Re: [Flashcoders] seek() in VideoPlayer class On Apr 23, 2007, at 1:08 PM, Ash Warren wrote: > Why do I feel like it's a constant 1 step forward 2 steps back with > these > new releases??? Well.. you are running Vista ... :) - jon ___ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] seek() in VideoPlayer class
On Apr 23, 2007, at 1:08 PM, Ash Warren wrote: Why do I feel like it's a constant 1 step forward 2 steps back with these new releases??? Well.. you are running Vista ... :) - jon ___ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] seek() in VideoPlayer class
"2) Use a Video component and write your own NetStream and NetConnection class and use the seek() method of it, which does not have the bug. I suggest this using this method." This is actually what I am doing, and although it works on my xp box beautifully, it really stutters on vista. At first I thought maybe it was an IE7 issue, but I get the same thing on Firefox (and just stand-alone within the authoring enviro) so I am positive it is something related to the way that the player runs on Vista. Really frustrating, and only a matter of time I'm sure before this becomes an issue for sites all over the place loading flv files. For now I may have to (*ugh) revert back to wrapping the flv files inside of swfs. Why do I feel like it's a constant 1 step forward 2 steps back with these new releases??? Thank you for your suggestions btw :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks Sent: Monday, April 23, 2007 11:58 AM To: [email protected] Subject: Re: [Flashcoders] seek() in VideoPlayer class The FLV component (both 7 and 8) are totally messed up when it comes to calling seek manually on an interval or enterFrame. I mean, it's pretty ridiculous that such an obvious bug got through QA. Allegedly, there is an undocumented public method that exposes the true seek method of the FLVPlayback component, but I suggest the following. You have two choices. 1) Use the standalone Flash 8 Seekbar Component to interact with the F8 FLVPlayback Component. You can skin this to do whatever you want and it seeks the FLVPlayback Component without issue. 2) Use a Video component and write your own NetStream and NetConnection class and use the seek() method of it, which does not have the bug. I suggest this using this method. ___ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] seek() in VideoPlayer class
The FLV component (both 7 and 8) are totally messed up when it comes to calling seek manually on an interval or enterFrame. I mean, it's pretty ridiculous that such an obvious bug got through QA. Allegedly, there is an undocumented public method that exposes the true seek method of the FLVPlayback component, but I suggest the following. You have two choices. 1) Use the standalone Flash 8 Seekbar Component to interact with the F8 FLVPlayback Component. You can skin this to do whatever you want and it seeks the FLVPlayback Component without issue. 2) Use a Video component and write your own NetStream and NetConnection class and use the seek() method of it, which does not have the bug. I suggest this using this method. ___ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] seek() in VideoPlayer class
Hi Jamie, Assuming you're rolling out your own seek slider, I suggest you call the seek() method after the user released the slider, instead during the dragging process. This will eliminate the multiple calls and make it much smoother. If you really need the sliding to happen in real-time, you could set an interval that gets called every second or so and calls the seek() method. It may also be a good idea to pause the movie when you press the slider and resume playback when you release it. Cheers, Karina Karina Steffens | Neo-Archaic new concepts, timeless design www.neo-archaic.net > -Original Message- > From: Flash Coder [mailto:[EMAIL PROTECTED] > Sent: 23 April 2007 13:36 > To: Flashcoders mailing list > Subject: [Flashcoders] seek() in VideoPlayer class > > Hi, > > I am building my own flv videoplayer with the > mx.video.VideoPlayer class. > > I have run into a problem with my draggable slider for > seeking back and forth my movie. > > The problem is: > > I'm calling the seek() method every time the mouse's x > position change. > > It works fine if I just click around the slider. But if I > start dragging it, the class registers every single little > seek call, and of course act upon every single one of them. > This slows the seeking down a lot. If I just drag it back and > forth a couple of times, I can sit back and wait up to 30 > seconds to watch it go through every seek jump. > > What am I doing wrong? I tested the FLV playback component. > It works a little better, but far from as good as the YouTube > flv player. > > Please help me out. > Jamie > ___ > [email protected] > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com http://training.figleaf.com > ___ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

