You have this:
$(function(){
var video = videojs("example_video_1", {
controls: true,
//more options
});
});
<video … data-setup='{"nativeControlsForTouch":false}'>…
Both having a data-setup
attribute on the video element and the videojs()
function would set up video.js. You shouldn't use both. One is "winning" on Firefox, he other on other browsers. You should use one method or the other, including all options you need there.