+ endedPlayback: function() {
+ if (this._readyState < this.READY.METADATA)
+ return false;
+
+ if (this.currentTime >= this.duration && this._playbackRate >= 0 && !this._loop)
+ return true;
+
+ if (this.currentTime <= 0 && this._playbackRate <= 0)
+ return true;
+ },
+
+ getEnded: function() {
+ return this.endedPlayback() && this._playbackRate >= 0;
+ },
+