mirror of
https://github.com/videojs/video.js.git
synced 2024-11-28 08:58:46 +02:00
@misteroneill restore Html5.Events. closes #2421
This commit is contained in:
parent
f97e84a41e
commit
abca8913e1
@ -86,6 +86,7 @@ CHANGELOG
|
||||
* @sirlancelot change "video" to "media" in error messages ([view](https://github.com/videojs/video.js/pull/2409))
|
||||
* @nickygerritsen use the default seekable when a source handler is unset ([view](https://github.com/videojs/video.js/pull/2401))
|
||||
* @gkatsev always use emulated TextTrackLists so tracks survive tech switches ([view](https://github.com/videojs/video.js/pull/2425))
|
||||
* @misteroneill restore Html5.Events ([view](https://github.com/videojs/video.js/pull/2421))
|
||||
|
||||
--------------------
|
||||
|
||||
|
@ -893,6 +893,37 @@ Html5.supportsNativeTextTracks = function() {
|
||||
return supportsTextTracks;
|
||||
};
|
||||
|
||||
/**
|
||||
* An array of events available on the Html5 tech.
|
||||
*
|
||||
* @private
|
||||
* @type {Array}
|
||||
*/
|
||||
Html5.Events = [
|
||||
'loadstart',
|
||||
'suspend',
|
||||
'abort',
|
||||
'error',
|
||||
'emptied',
|
||||
'stalled',
|
||||
'loadedmetadata',
|
||||
'loadeddata',
|
||||
'canplay',
|
||||
'canplaythrough',
|
||||
'playing',
|
||||
'waiting',
|
||||
'seeking',
|
||||
'seeked',
|
||||
'ended',
|
||||
'durationchange',
|
||||
'timeupdate',
|
||||
'progress',
|
||||
'play',
|
||||
'pause',
|
||||
'ratechange',
|
||||
'volumechange'
|
||||
];
|
||||
|
||||
/*
|
||||
* Set the tech's volume control support status
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user