How do I embed a context menu into an HTML5 video player?
问题 I am currently fiddling with an HTML5 video player video.js, which I'd like to add this contextual menu ContextJS to. I am new to this and the more answers I get, I will greatly appreciate. Thank you in advance. 回答1: From briefly looking at the ContextJS docs, the first thing you'll want to do is initialize it. // these are all the defaults context.init({ fadeSpeed: 100, filter: null, above: 'auto', preventDoubleContext: true, compress: false }); Now you can enable the context menu on