gumgum / gg-ez-vp

Simple video player with minimal setup, intuitive API and straightforward features
https://gumgum.github.io/gg-ez-vp
MIT License
7 stars 4 forks source link

Allow disabling seeking #47

Closed edrpls closed 4 years ago

edrpls commented 4 years ago

It is only possible to disable changing the current time of the video when using ad controls, disabling this functionality should be possible on regular video as well.

edrpls commented 4 years ago

As with disabling clicks, this can be accomplished with CSS alone, if the user needs to, by disabling the pointer events on the .gg-ez-vp--progress selector.

.gg-ez-vp--progress {
    pointer-events: none;
}