Skip to content

Doesn't work with minified video.js #7

@Ratcreamsoup

Description

@Ratcreamsoup

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions