html5 - Video.js - preventing click-to-play functionality -
i'm using video.js embed video html page. used ipad-only web app believe it's using native html5 player. i'm trying disable click-to-play functionality (so user must use controls) having trouble doing so.
i've tried unbinding click event (using jquery) form video/video player/poster , i've tried using addevent add e.preventdefault()
video none of seems work.
ps. found couple of posts saying comment out line in code, line doesn't exist in version - maybe plugin has been rewritten.
check here
so example
v = videojs('scene04-video'); v.tech.removecontrolslisteners();
Comments
Post a Comment