Is it possible to disable Playback Rate

Hi,

H5P is new to me and I'm trying to wrap myu head around it. I started with creating an interactive video with some quizes along the way. Most of what I need for my project is already in place with this content type. But I could not find a way to disable Playback Rate selection. Is there a way to disable it?

BV52's picture

Hi canpolat,

I'm afraid there is no option to turn this off.

-BV52

BV52, thank you for the response. I suppose a flag to disable playback rate would be a good addition (even though it is a fairly common function in educational videos).

BV52's picture

Hi canpolat,

This is a good suggestion and thank you for contributing your ideas on how to make H5P better! We’re now working on something called the H5P supporter program allowing the H5P community to vote for and fund the top voted H5P features. Also there are developers in the community who every now and then works on a feature they find interesting or useful.

Note: I moved the post to the Feature Request forum.

-BV52

If you are pulling the libraries into your installation you can disable the playback rate in the js code for html5 video player.

in H5P.video-1.5/scripts/html5.js look for the playback rates array and remove all rates but "1".

/** @constant {Object} */

  var PLAYBACK_RATES

I don't recommend this though, but it can get you out of a jam.

otacke's picture

Hi!

Feel free to just hide the button using CSS. There shouldn't be any need to touch the code for this. Please check the docs for customizing H5P.

Best,

Oliver