Improved Gutenberg & non mediaelement-js support
Lewiscowles1986
released this
09 Nov 22:33
·
13 commits
to wp-plugin-dir
since this release
This release improves on JS non-mediaelement-js support
the following HTML code was added to a custom HTML block
<div class="page-playback-speed-controls">
<button type="button" class="playback-rate-button mejs-active" data-value="1" title="Playback Speed 2x" aria-label="Playback Speed 1x">1x</button>
<button type="button" class="playback-rate-button" data-value="2" title="Playback Speed 2x" aria-label="Playback Speed 2x">2x</button>
</div>
<hr>
This then allows page-level controls which update all the mediaelement-js players also.
Future commits may refine this, but right now it's a pretty small edit which has helped me test a thing.