Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in mw.KadPlayer.js if <MediaFile> url in VAST is not valid #1219

Open
vadimtar opened this issue Nov 27, 2014 · 1 comment
Open

Bug in mw.KadPlayer.js if <MediaFile> url in VAST is not valid #1219

vadimtar opened this issue Nov 27, 2014 · 1 comment

Comments

@vadimtar
Copy link

If the ad video url is not valid (404 for example), the unbind for 'click.adClick' event in addClickthroughSupport is not happening, therefore on video play/pause event (in addClickthroughSupport function) is called, which causes an error on _this.getVideoElement().play(); (line 473) :
Uncaught TypeError: Cannot read property 'play' of null

@lelikg
Copy link
Contributor

lelikg commented Nov 28, 2014

+1 need a fix or workaround for this please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants