Skip to content
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

Add playback speed button to video player #4917

Conversation

MCGallaspy
Copy link
Contributor

Summary

Adds the playback speed button back to our video player. Removed inline video.js configuration options in favor of explicit configuration in our view. @jamalex you're identified as my bug-buddy for videos, but if you don't have the opportunity to review this then please indicate that's the case.

TODO

  • Have tests been written for the new code? No. There's no good way to test KA Lite's javascript.

Issues addressed

Fixes #4639.

Removed inline video.js configuration options in favor of
explicit configuration in our view.
@MCGallaspy MCGallaspy added the bug label Feb 25, 2016
@MCGallaspy MCGallaspy added this to the 0.16.0 milestone Feb 25, 2016
@@ -1,5 +1,5 @@
<div id="video-player"{{#unless content_urls }} class="client-online-only"{{/unless}}>
<video class="video-player video-js vjs-default-skin vjs-fullscreen" id="{{ random_id }}" controls preload="auto" width="auto" height="auto" {{#if content_urls.thumbnail }}poster="{{ content_urls.thumbnail }}" {{/if}}data-setup="{}">

This comment was marked as spam.

This comment was marked as spam.

@jamalex
Copy link
Member

jamalex commented Feb 25, 2016

Looks great, perhaps consider adding 1.25 speed, but signoff to merge at will.

@MCGallaspy
Copy link
Contributor Author

Okay, I'll add the 1.25 speed. But just to be clear you are the one supposed to merge this (or not merge it), in general I try to avoid merging my own changes.

@jamalex
Copy link
Member

jamalex commented Feb 26, 2016

Sure thing, merging.

jamalex added a commit that referenced this pull request Feb 26, 2016
…ed-setting

Add playback speed button to video player
@jamalex jamalex merged commit 468d0d3 into learningequality:0.16.x Feb 26, 2016
@jamalex jamalex removed the has PR label Feb 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants