An alternative would be to create a custom button and place it using some code
Demo
http://codepen.io/anon/pen/NqMwaG
code
var elpos = $(".video-js").offset(); var x_pos = elpos.left + 150; // how far the button is to the left on control bar var y_pos = elpos.top + 234; // height of video player minus some pixes $(".custom").css({"left": x_pos+"px", "top": y_pos+"px"}); window.onresize = function() { var elpos = $(".video-js").offset(); var x_pos = elpos.left + 150; var y_pos = elpos.top + 242; $(".custom").css({"left": x_pos+"px", "top": y_pos+"px"}); }
Css
.custom { z-index:999999; position:fixed; top:0; left:0; display:inline-block; }
You can use the click and mouse events to fade out or click a button. if you need to be mobile, you can add touch events, but you will need a library, for example hammer.js.
code
$(document).on("click", ".vjs-play-control",function(){ setTimeout(function(){ $(".custom").fadeOut(); }, 2500); }) $( "#my_video_1, .vjs-control-bar vjs-fade-out" ).mouseover(function() { $(".custom").fadeIn() }) $( "#my_video_1, .vjs-control-bar vjs-fade-out" ).mouseleave(function() { setTimeout(function(){ $(".custom").fadeOut(); }, 2500); })
source share