Commit Graph

30 Commits

Author SHA1 Message Date
Sam Potts 7c6d4666e9 Merge branch 'develop' into a11y-improvements
# Conflicts:
#	demo/dist/demo.css
#	dist/plyr.css
#	dist/plyr.js.map
#	dist/plyr.min.js
#	dist/plyr.min.js.map
#	dist/plyr.polyfilled.js
#	dist/plyr.polyfilled.js.map
#	dist/plyr.polyfilled.min.js
#	dist/plyr.polyfilled.min.js.map
#	src/js/captions.js
#	src/js/plyr.js
2018-06-09 17:03:16 +10:00
Albin Larsson 64399e0717 Defer initial captions update to next tick, to avoid event being triggered to early 2018-05-28 17:54:25 +02:00
Albin Larsson f58e23b325 Change to using addtrack and removetrack listeners since 'change' didn't trigger in firefox for embedded captions (may also be a hls.js issue) 2018-05-28 16:19:44 +02:00
Albin Larsson 812e07b734 Replace browser language detection in defaults.js with explicit 'auto' option 2018-05-28 07:43:37 +02:00
Albin Larsson 0109454a34 Ensure language is set in case the track is added after initialization, and trigger languagechange event when language is initially set 2018-05-28 06:08:03 +02:00
Albin Larsson 813f703211 Add option to watch caption track changes and update language options 2018-05-28 06:08:03 +02:00
Albin Larsson 7aad747c25 Optimize captions code reused and ensure captionsenabled/captionsdisabled
will be sent on initial setup
2018-05-28 05:44:54 +02:00
Sam Potts 90c5735904 WIP 2018-05-28 10:19:07 +10:00
Sam Potts 51814249af Reduce circular dependencies 2018-05-19 11:24:56 +10:00
Sam Potts 9ebc2719d3 v3.3.0 2018-05-06 00:49:12 +10:00
Albin Larsson 6d79b8cd4c Don't require captions toggle button to be enabled in order to show captions 2018-04-17 18:59:19 +02:00
Sam Potts 46fe3eecff Fixed bug for captions with no srclang and labels and improved logic (fixes #875) 2018-04-17 22:49:28 +10:00
Sam Potts 24b4220de5 Fix IE CORS captions 2018-02-19 09:52:46 +11:00
Sam Potts 6a9be8d16b Fix for custom controls 2018-02-13 00:01:19 +11:00
Sam Potts 7221e26eca Merge pull request #780 from friday/captions-ie11-indexsizeerror
Fix harmless but annoying IE error 'IndexSizeError'
2018-02-06 12:51:45 +11:00
Albin Larsson 98adb8e784 Fix harmless but annoying IE error 'IndexSizeError' 2018-02-06 02:39:01 +01:00
Sam Potts 211db12a3d Readme merge 2018-02-06 11:06:46 +11:00
Sam Potts 6864149989 Converted to SASS/SCSS 2017-12-20 15:14:05 +00:00
Sam Potts c8990bd379 IE & Edge fixes, Storage & Console classes 2017-12-08 10:05:38 +00:00
Sam Potts 61325bbad1 Vimeo captions fix 2017-11-23 20:50:07 +11:00
Sam Potts 921cefd212 Moved to provider + type to make it cleaner in future, fix for multiple players 2017-11-23 17:35:35 +11:00
Sam Potts de6f0f1b77 Updated data attributes to data-plyr namespace. Speed menu fixes 2017-11-23 12:57:43 +11:00
Sam Potts 4b62a5c74d Captions fix 2017-11-19 17:54:38 +11:00
Sam Potts 6984d6fb16 Controls cleanup, work on captions bug, click to invert time 2017-11-18 19:30:26 +11:00
Sam Potts 4879bea4a0 Moved console methods out of the root of the object 2017-11-09 20:01:13 +11:00
Sam Potts f878581c8f UI bugs 2017-11-09 19:40:45 +11:00
Sam Potts 374de800a4 Captions fix 2017-11-05 18:57:22 +11:00
Sam Potts e2d8bd2b73 Captions language fix 2017-11-05 11:59:15 +11:00
Sam Potts 1c693df00b src getter fix, local storage fix 2017-11-05 11:45:02 +11:00
Sam Potts 1cc2930dc0 ES6-ified 2017-11-04 14:25:28 +11:00