-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
PlaybackRate doesn't work in Chrome Mobile (Android) #3180
Comments
I don't believe they implement playback rate in mobile clients. Maybe take a look at server side packager that can adjust playback rate: https://github.com/kaltura/nginx-vod-module |
Thanks for that information. |
If it really isn't supported on mobile but the API is present, I guess we should black list here it until it's implemented |
It might be worth mentioning that I tested this on an iPad (hardware, iOS 9.2.1) as well and on there the playbackRate does work. So it looks to be just an Android problem, not mobile in general. |
Chromium bug: playbackRate isn't implemented on Android |
Anyone want to make a PR that blacklists Chrome for Android? |
Fixed by #3246 |
Also not support in Android Chrome 53.0.2785.121 version... |
Is there a link where I can follow/vote the status of this feature for Android Chrome? |
@beebase see @mister-ben's comment above. |
on android 7.0 with latest chrome i have the problem, that the main div for the playbackrate gets set to hidden: <div class="vjs-playback-rate vjs-menu-button vjs-menu-button-popup vjs-control vjs-button vjs-hidden" tabindex="0" role="menuitem" aria-live="polite" title="Playback Rate" aria-disabled="false" aria-expanded="false" aria-haspopup="true"> so why is thanks for any help! |
It looks like Chrome quietly fixed this a while back and we could stop blacklisting playbackRate newer versions of Chrome for Android. The bug report suggests it was fixed in 52 but I've only been able to test in Chrome 58 (on Android 6.0.1) |
I tested an HLS stream in Chrome 58 on a Nougat device and it still doesn't work 😕 |
Chrome's native HLS still does not support playbackRate, but using videojs-contrib-hls with the nativeOverride option works. |
android chrome native HLS doesn't support playbackRate. I tested on version 71, going so far as to run I checked chrome 58 on app.crossbrowsertesting.com, and also found that the speed didn't work there, either. I think this issue should be reopened? Or is the official position from @mister-ben , that
meaning chrome doesn't work, but it won't be blacklisted because we can use videojs-contrib-hls (or builtin to videojs v7 via http-streaming) |
I came by this issue on an Android 9, Chrome 81.0.4044.138 and VideoJS 7.7.6. Playback rate works on all desktop browsers and even on Firefox mobile, but still does not work on Chrome for Android. I am not using videojs-contrib-hls as it is supposed to be deprecated as of videojs 7.0.0. Any ideas why the problem still persists? |
Sorry, I don't have time to research this now / test extensively, but @mister-ben's main point with
is that when chrome handles hls itself, using it's own builtin code, it messes up playback rate. But if we tell chrome not to even try, and all the hls support (parsing the m3u8 files, etc) is handled by videojs javascript, then videojs's JS will handle playback rate properly. The exact method of getting to non-native hls support has changed, but the principle (that non-native hls support handles play back rate) remains. So - in 2017, the way to get non-native hls support was with videojs-contrib-hls. I don't know offhand the config to tell videojs to force non-native hls, but it's probably still nativeOverride, or easy enough to find in docs online. |
@yringler thank you for the detailed explanation. This is the code snippet that fixes the issue - Strangely, I couldn`t find the html5.hls overrideNative option in the documentation. |
Description
When changing the playbackRate in Chrome Mobile on Android (I tried on Android 6.0.1, Nexus 5), nothing happens. The playbackRate getter returns the selected rate correctly, but the actual rate of playback in the player doesn't change. Is this a bug in Video.js or in Chrome Mobile?
Steps to reproduce
Results
Expected
The controlbar shows the current playbackRate.
The media's playback rate changes accordingly.
Getting the playbackRate via the API returns the value set by the user.
Actual
The controlbar shows the current playbackRate.
The media's playback rate does not change.
Getting the playbackRate via the API returns the value set by the user.
Error output
No error(s).
Additional Information
Tested on a real device and in an emulator.
versions
videojs
5.8.3
browsers
Chrome Mobile
OSes
Android 6.0.1
plugins
videojs-contrib-hls
The text was updated successfully, but these errors were encountered: