1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-04 10:34:51 +02:00
video.js/test/unit
Pat O'Neill 51bd49f4bc feat: Add breakpoints option to support toggling classes based on player width. (#5471)
This adds a breakpoints option. By default, this option is false meaning this is an opt-in feature.

When passing true, it will use a default set of breakpoints. Or custom breakpoints can be passed if users do not like our breakpoints (or previously-existing style decisions).

- Add breakpoints option.
- Adds some new (currently unused) classes: vjs-layout-medium, vjs-layout-large, vjs-layout-x-large, and vjs-layout-huge.
- Add updateCurrentBreakpoint and currentBreakpoint methods to the player.
- Update css/components/_adaptive.scss
- Add sandbox/responsive.html.example

Closes videojs/video.js#4371
2018-10-10 15:30:20 -04:00
..
mixins revert: "fix: Allow evented objects, such as components and plugins, to listen to the window object in addition to DOM objects. (#5255)" (#5301) 2018-07-06 13:51:22 -04:00
tech docs: Update JSDoc comments, so core API docs for the videojs function are accurate. (#5385) 2018-09-28 16:21:18 -04:00
tracks fix(vjsstandard): update to 8.0.2 and fixup linting (#5413) 2018-09-28 14:58:15 -04:00
utils feat: createLogger for easier logging in individual modules (#5418) 2018-09-28 16:52:58 -04:00
autoplay.test.js feat(autoplay): extend autoplay option for greater good (#5209) 2018-06-21 14:32:07 -04:00
button.test.js fix: Reduce the multiple-announcement by screen readers of the new name of a button when its text label changes. (#5158) 2018-05-11 14:31:28 -04:00
clickable-component.test.js test: update tests to use qunit 2 assert format (#4753) 2017-11-16 18:12:09 -05:00
close-button.test.js @pagarwal123 updated some test code to pass linter 2016-08-05 11:38:08 -04:00
component.test.js fix(vjsstandard): update to 8.0.2 and fixup linting (#5413) 2018-09-28 14:58:15 -04:00
controls.test.js feat: show mute toggle button if the tech supports muting volume (#5052) 2018-06-21 14:33:08 -04:00
event-target.test.js feat: async change events in TextTrackList with EventTarget#queueTrigger (#5332) 2018-07-25 17:33:30 -04:00
events.test.js fix(vjsstandard): update to 8.0.2 and fixup linting (#5413) 2018-09-28 14:58:15 -04:00
extend.test.js docs: Update JSDoc comments, so core API docs for the videojs function are accurate. (#5385) 2018-09-28 16:21:18 -04:00
media-error.test.js fix(vjsstandard): update to 8.0.2 and fixup linting (#5413) 2018-09-28 14:58:15 -04:00
menu.test.js feat: playerresize event in all cases (#4864) 2018-01-30 13:26:21 -05:00
modal-dialog.test.js test: fix modal dialog test for showing controls (#4707) 2017-10-31 11:35:01 -04:00
player-breakpoints.test.js feat: Add breakpoints option to support toggling classes based on player width. (#5471) 2018-10-10 15:30:20 -04:00
player-play.test.js fix(Player#play): Wait for loadstart in play() when changing sources instead of just ready. (#4743) 2017-11-16 16:41:01 -05:00
player.test.js feat(fill): make vjs-fill a player mode (#5478) 2018-10-05 14:28:09 -04:00
plugin-advanced.test.js feat: add a version method to all advanced plugin instances (#4714) 2017-11-07 15:48:24 -05:00
plugin-basic.test.js feat: Add 'beforepluginsetup' event and named plugin setup events (e.g. 'pluginsetup:foo') (#4255) 2017-05-11 17:13:22 -04:00
plugin-static.test.js chore(test): silence plugin warning from test (#4173) 2017-03-07 14:13:19 -05:00
poster.test.js fix(vjsstandard): update to 8.0.2 and fixup linting (#5413) 2018-09-28 14:58:15 -04:00
resize-manager.test.js refactor: remove IE8 specific changes (#5041) 2018-03-23 13:25:12 -04:00
setup.test.js fix(vjsstandard): update to 8.0.2 and fixup linting (#5413) 2018-09-28 14:58:15 -04:00
sourceset.test.js feat: copy properties from <video-js> to the media el (#5039) 2018-05-09 15:55:29 -04:00
test-helpers.js feat: Add breakpoints option to support toggling classes based on player width. (#5471) 2018-10-10 15:30:20 -04:00
video.test.js fix(vjsstandard): update to 8.0.2 and fixup linting (#5413) 2018-09-28 14:58:15 -04:00
videojs-hooks.test.js fix(vjsstandard): update to 8.0.2 and fixup linting (#5413) 2018-09-28 14:58:15 -04:00