bikegriffith / clappr-playback-rate-plugin

A plugin for the Clappr HTML5 video player that enables variable speed playback (0.5x, 1x, 2x, ...)
MIT License
37 stars 18 forks source link

Fixes for latest clappr v0.3.0 and style tweaks #13

Closed chriswiggins closed 5 years ago

chriswiggins commented 5 years ago

This brings the events / methods for accessing the container in line with clappr@0.3.0

I've updated the docs to reflect this as well as it's important to specify the MediaControl container before the PlaybackRate plugin.

Lastly, this incorporates some styling tweaks to make the button the same size as the rest of the MediaControl icons (like CC)

bikegriffith commented 5 years ago

Looks good! Thanks for taking care of this @chriswiggins! I'll merge and deploy to NPM now.