|
|
|
I fixed the bug by adding a few lines of code to the mx.controls.videoClasses.VideoPlayer class.
I added a httpDoSeekTimer in the httpOnStatus call if the player gets in an invalid seek time state and is not in invalidSeekRecovery mode yet. Seems to work now. The VideoDisplay should dispatch an event and put itself into a responsive state so we could handle this "invalid seek".
Do I have a cut down version of Flex 3 ? I can't find anywhere the VideoPlayer class in the mx.controls.videoClasses package you have mentioned. Patrick,
Do you have a VideoPlayer.as file in "C:\Program Files\Adobe\Flex Builder 3\sdks\3.0.0\frameworks\projects\framework\src\mx\controls\videoClasses\"? Peter, I'm relying on the auto completion code of flex builder and only 2 classes appear: CuePointManager and VideoError.
But you are right there are more classes under the path including the VideoPlayer. Do you have any ideas why it's not coming up in Flex Builder ? Thanks Some classes don't show up in documentation or Flex Builder because they weren't intended to be used directly by users.
You can still use/extend them in your Flex applications, but you may need to explicitly import them first. Peter I should have read the code before there is an [ExcludeClass] metadata tag.
thanks Peter for the precision. ... nice synchronized post though :)
I also am experiencing this problem in an application, anyone having found a workaround yet?
Excuse me, where can i find the solution for this issue?
This fix is available in our nightly builds, specifically the 3.2.0.2630 available on the Flex 3 downloads page on opensource.adobe.com. Additionally, this fix will be available in our next stable build release and any future dot releases.
Verified fix
Clicking on the slider no longer causes the buttons / slider to be disabled Video will advance to position clicked if that portion has been downloaded, if not, video will continue to play from current position Closing issue The playHeadTime returns 0 when slider is dragged and it occurs in a random order.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
In main.mxml/main.swf, if you drag the slider thumb to a point that hasnt been downloaded yet, the VideoDisplay goes into a "seeking" state and "isResponsive" is set to false. Even though the app enters a nonresponsive state, the video still loads in the background. The only way to get the video to work again is to call "close()" and then "play()" which causes the app to start re-downloading.