Seeking is disabled while the remaining API is still available.
Preventing the seek in the beforeseekevent suffices with regard to
functionality. We add some fine tuning of the visual aspect which cannot be done with
CSS alone to communicate to the user that the restriction is
For devices which do support inline playback the beforeseek event is available.
Workaround: Revert the seek which just happened.
Preventing seek in one direction only
If you only want to prevent seeking in one direction, do not override UI effects
which are part of disabling seeking altogether. For instance, to disable forward seeking only, just
set up the API like this:
Compare with this demo for another