As we can see there's an error message when playing a movie for the first time on MV(the video plays, so nothing is broken), when MZ doesn't have this problem.
But this part of the code is almost identical, so I'm curiously why there's a diference.
This is from MV:
JavaScript:
Graphics._playVideo = function(src) {
this._video.src = src;
this._video.onloadeddata = this._onVideoLoad.bind(this);
this._video.onerror = this._videoLoader;
this._video.onended = this._onVideoEnd.bind(this);
this._video.load(); //line 2135 of rpg_core.js is here
this._videoLoading = true;
};
And this is from MZ:
JavaScript:
Video.play = function(src) {
this._element.src = src;
this._element.onloadeddata = this._onLoad.bind(this);
this._element.onerror = this._onError.bind(this);
this._element.onended = this._onEnd.bind(this);
this._element.load(); // this line, however, doesn't cause an error message
this._loading = true;
};
Before you ask, no, it has nothing to do with nw.js version, I tried opening the MV project in MZ and got the same error message.
What's more strange, the bug can be fixed by removing line 2135 (this._video.load()), with no visible drawbacks (at least on PC).
Despite what the error message shows, it has nothing to do with play(), as you can see the line of code calls load(), so it does't make sense (google results all point to video.play, so they don't help much).