videojs-progressTips icon indicating copy to clipboard operation
videojs-progressTips copied to clipboard

Doesn't work with minified video.js

Open Ratcreamsoup opened this issue 10 years ago • 0 comments

Hi,

Line 11 will always evaluate to false, as the Closure compiler used for the official distribution (tested with video.js 4.12.15) doesn't export the techName property. As you've already got jQuery as dependency, you could replace this with

if ($('.vjs-tech').attr('id') !== 'content_video_html5_api')

I know it is fugly, but there doesn't seem to be a cleaner way.

Kind regards

Ratcreamsoup avatar Oct 28 '15 11:10 Ratcreamsoup