1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-23 02:04:34 +02:00
video.js/test/unit/tracks
Gary Katsevman 9ceb4e4fe0
feat: playerresize event in all cases (#4864)
Use ResizeObserver when available for better and more performant resizing information, otherwise, fall back to a throttled resize event on an iframe that's the size of the player.
Allows a video.js user to disable this by setting resizeManager: false as an option since the component will not be initialized.

Add a debounce util.

This reverts #4800 (e0ed0b5) because we end up getting two playerresize events with the dimension methods now.
2018-01-30 13:26:21 -05:00
..
audio-track-list.test.js refactor: unify all Track and TrackList APIs (#3783) 2017-01-19 15:16:28 -05:00
audio-track.test.js feat: Advanced Class-based Plugins for 6.0 (#3690) 2017-01-18 01:52:23 -05:00
audio-tracks.test.js feat: playerresize event in all cases (#4864) 2018-01-30 13:26:21 -05:00
html-track-element-list.test.js @misteroneill updated tests to qunit 2.0. closes #3509 2016-08-12 13:51:31 -04:00
html-track-element.test.js chore(tests): make tests not print out errors (#4141) 2017-03-02 15:22:59 -05:00
text-track-controls.test.js test: update tests to use qunit 2 assert format (#4753) 2017-11-16 18:12:09 -05:00
text-track-cue-list.test.js @misteroneill updated tests to qunit 2.0. closes #3509 2016-08-12 13:51:31 -04:00
text-track-display.test.js perf: null out els on dispose to minimize detached els (#4745) 2017-11-16 11:19:47 -05:00
text-track-list-converter.test.js refactor: unify all Track and TrackList APIs (#3783) 2017-01-19 15:16:28 -05:00
text-track-list.test.js fix: cues at startTime 0 do not fire (#4152) 2017-03-02 14:35:45 -05:00
text-track-settings.test.js chore(tests): make tests not print out errors (#4141) 2017-03-02 15:22:59 -05:00
text-track.test.js fix: removeCue should work with native passed in cue (#4208) 2017-03-23 14:31:41 -04:00
text-tracks.test.js feat: playerresize event in all cases (#4864) 2018-01-30 13:26:21 -05:00
track-baseline.js @misteroneill updated tests to qunit 2.0. closes #3509 2016-08-12 13:51:31 -04:00
track-list.test.js refactor: unify all Track and TrackList APIs (#3783) 2017-01-19 15:16:28 -05:00
track.test.js refactor: unify all Track and TrackList APIs (#3783) 2017-01-19 15:16:28 -05:00
video-track-list.test.js refactor: unify all Track and TrackList APIs (#3783) 2017-01-19 15:16:28 -05:00
video-track.test.js feat: Advanced Class-based Plugins for 6.0 (#3690) 2017-01-18 01:52:23 -05:00
video-tracks.test.js feat: playerresize event in all cases (#4864) 2018-01-30 13:26:21 -05:00