New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flash tech only starts playing when pressing play twice #2203
Comments
I'm seeing the exact same issue. |
Reproduced on 4.12, not 4.11. |
@bclwhitaker @bc-bbay @dmlap I think is happening because of the videojs-swf 4.7 update. Any thoughts on what it could be? |
@heff There are a few things going on here. First, the minified version of video.js somehow seems to corrupt the preload property before it gets to the swf. With the compiled version the value is always coming in as "undefined" when the swf sees it. Second, having an undefined value for preload exposes a bug in the swf where we were just initializing the NetConnection on the first attempt rather than following through to start the stream. The above example works if pointed at the dev version of the stable branch -- not sure what to do about that. I've opened a PR in the video-js-swf project which fixes the second issue: videojs/video-js-swf#162 |
I noticed corruption of the preload property with the HTML5 tech on the stable branch, and reported that as issue #2191. This might be relevant. |
I believe this has been fixed in a newer version of the swf (4.7.1 and 4.7.2). vjs 4.12.11 should have the latest swf. Can you please retest? |
I am using v5.0.0 and I still get this problem. I have to click play twice. |
Can you retest with latest v5 of both videojs and the swf? |
Using CDN version. Still having to click play 2 or even 3 times sometimes. |
This is working for me and a lot of things have changed since. Going to close this. If this is still an problem, please open a new issue. |
The Flash tech required pressing play twice initially to start playing. To reproduce:
techOrder:['flash']
)Expected: The video starts playing after a short delay for buffering
Actual: The video starts buffering, but never starts playing. The play/pause button toggles to the playing-state (with the icon showing the action to pause playback). Clicking on the play/pause button starts playback, and the video plays and pauses normally afterwards.
Tested on Chromium 39.0.2171.65 Ubuntu 14.04 (Flash 16.0.0.235) and IE8/Win7.
The following document is complete test case:
The text was updated successfully, but these errors were encountered: