Open romaincointepas opened 8 years ago
// hide UI
player.ui(false);
// disable click and double click
player.find(".wcp-surface").unbind("click").unbind("dblclick").css("cursor","default","important");
These will give you the desired effect, but it will still add the html and css required for the UI to your pages.
I don't think that a chromeless
is required thought, if you really want to start things from scratch, there's wcjs-renderer (which is a dependency of wcjs-player
) that just renders the video to a canvas.
Some sort of theming would be nice though, but I haven't yet found an easy way to do it.
chromeless
would avoid creating the player UI elements and add the styles (leaving only the video surface/canvas)nonInteractive
would disable responding to events (like double-click on video, etc.)Native HTML5