Work around a Youtube API bug that causes Safari to ignore the stored speed setting.
Fixes https://openedx.atlassian.net/browse/TNL-408. On Safari, the Youtube HTML5 player accepts playback rate changes before the video is loaded, but doesn't actually play the video at the rate set. This patch works around this bug by first setting the playback rate back to 1 and then to the actually desired speed.
Showing
Please
register
or
sign in
to comment