Fix "Is Ended" condition for Video object (#1223)

This commit is contained in:
Bouh
2019-09-08 18:19:08 +02:00
committed by Florian Rival
parent 0db65f002c
commit 59c5a67284

View File

@@ -237,7 +237,7 @@ gdjs.VideoRuntimeObject.prototype.getDuration = function() {
* Check if the video has ended.
*/
gdjs.VideoRuntimeObject.prototype.isEnded = function() {
return !this._renderer.isEnded();
return this._renderer.isEnded();
};
/**