-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Uncaught TypeError: Cannot read property 'vdata1410859035575' of null #1505
Comments
So sorry for the delay in getting back to this one. I think the issue I just referenced (#1541) should take care of any errors like this. |
I am using the videojs-vast-vpaid plugin and after playing an Ad on videojs i am calling the dispose() function on the player like this :
So I tried to make to set a minimum Timeout like mensionned . It is working without errors but the timeout that i Set worked for firefox and not for Chrome . Is there any explanation for this ? Is there any common result woring for both(or for all) Browsers? |
Hi guys, I use Brightcove player, that based on VideoJS and get the same error: Browser: Chrome 65 Error traceback:
Here is my Brightcove script: I've debugged a bit this Brightcove index.js. Looks like the issue related to the Quality Control. Thanks, Denis |
Hi, I am facing a similar issue with Brightcove player. Did you find any solution? |
Hi @ankit18singh, Actually no. Thanks, |
We have some info about it on our troubleshooting doc: https://docs.videojs.com/tutorial-troubleshooting.html#vdata123456-errors |
HI @gkatsev , thanks for the doc. It is still not working. |
I'm trying to use videojs-vast-plugin (https://github.com/theonion/videojs-vast-plugin) to play a preroll video (mp4 over HTML5) before the actual content (rtmp over Flash).
VideoJS version is 4.8 (hosted locally). Tech order is ["html5","flash"].
The original video is a rtmp stream so the videojs Flash version is instanced during setup.
Then videojs-vast-plugin downloads a VAST file that tells the plugin to start a simple video download (linear mode), so the plugin updates player's sources accordingly (the initial Flash player is then disposed), the player switches to HTML5 mode and then mp4 adv video is played.
At then end of the preroll the videojs-vast-plugin restores an initial snapshot of the player (the HTML5 player is then disposed, as well as a new Flash player instance is finally created) and tries to play the (original) rtmp stream.
The problem lies at the end of the preroll. When the HTML5 player is disposed (after the adv video successfully finished playing) and a new Flash player instance is created, it seems that some event handler is still alive for the very first Flash player instance created during the initial setup (and then an error is thrown):
The error is throwed by the vjs.getData() function (see [1] in the following code) since is el[vjs.expando](vjs.expando value is) is null:
Debugging the scripts I ended to face a strange behaviour. When the videojs-vast-plugin tries to restore the initial Flash Player (see [2] in the following code)
video-vast.js (videojs-vast-plugin)
then VideoJS breaks at tech.addControlsListeners() (see [3] in the following code) since tech.el_ is null. The oddity here is that that player refers to the very first Flash Player version (already disposed) so el_ is obviously null.
video.dev.js (videojs)
After searching through the code I suspect this is not a videojs-vast-plugin issue: it seems that videojs does not clear all the stuff related to the player/tech when disposing the player.
Btw, changing the tech order from ["html5","flash"] to ["flash","html5"] does not generate the error (probably because in that case there is no need to switch from HTML5 player to Flash player and viceversa).
Anyway, you can reproduce the problem here: http://bit.ly/1Deb1S2 (if you have some AD blockers installed on your browser you may want to temporarily disable them).
The text was updated successfully, but these errors were encountered: