1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-02 06:32:07 +02:00
video.js/sandbox
Pat O'Neill 6df3ac78d4 feat: Add responsive option, which enables breakpoints support. (#5496)
Follow-up for #5471

This makes the breakpoints option and `breakpoints()` method clearer and introduces the responsive option and `responsive()` method, which will turn on the breakpoints.

The return value of `currentBreakpoint()` was simplified to only ever return a string (empty if none).

Also, added convenience methods: `responsive()`, `getBreakpointClass()`, and `currentBreakpointClass()`.
2018-10-11 17:03:33 -04:00
..
combined-tracks.html.example feat: Add breakpoints option to support toggling classes based on player width. (#5471) 2018-10-10 15:30:20 -04:00
descriptions.html.example feat: Add breakpoints option to support toggling classes based on player width. (#5471) 2018-10-10 15:30:20 -04:00
embeds.html.example chore: generate a test example on netlify for PRs (#4912) 2018-01-30 11:17:41 -05:00
flash.html.example feat: Add breakpoints option to support toggling classes based on player width. (#5471) 2018-10-10 15:30:20 -04:00
icons.html.example chore: generate a test example on netlify for PRs (#4912) 2018-01-30 11:17:41 -05:00
index.html.example feat: Add breakpoints option to support toggling classes based on player width. (#5471) 2018-10-10 15:30:20 -04:00
language.html.example feat: Add breakpoints option to support toggling classes based on player width. (#5471) 2018-10-10 15:30:20 -04:00
middleware-play.html.example refactor: remove IE8 specific changes (#5041) 2018-03-23 13:25:12 -04:00
plugin.html.example feat: Add breakpoints option to support toggling classes based on player width. (#5471) 2018-10-10 15:30:20 -04:00
responsive.html.example feat: Add responsive option, which enables breakpoints support. (#5496) 2018-10-11 17:03:33 -04:00