Sam Potts
|
ffd864ed39
|
Work on controls
|
2018-06-18 21:39:47 +10:00 |
|
Sam Potts
|
3c9c1b4cdc
|
Merge pull request #1041 from sampotts/a11y-improvements
A11y improvements
|
2018-06-17 01:34:11 +10:00 |
|
Sam Potts
|
599883e684
|
Formatting fix
|
2018-06-17 01:30:24 +10:00 |
|
Sam Potts
|
f1b4db4f36
|
Merge branch 'develop' into a11y-improvements
# Conflicts:
# dist/plyr.js
# 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/controls.js
# src/js/fullscreen.js
# src/js/plyr.js
# src/js/ui.js
# src/js/utils.js
|
2018-06-17 01:26:24 +10:00 |
|
Sam Potts
|
d4abb4b143
|
120 line width, package upgrade
|
2018-06-17 01:04:55 +10:00 |
|
Sam Potts
|
828ce66942
|
Merge pull request #1038 from friday/captions-input-lowercase
Small captions fixes
|
2018-06-17 00:40:56 +10:00 |
|
Sam Potts
|
ccc2608cf6
|
Merge pull request #1039 from friday/poster-race-conditions
Fix poster race conditions
|
2018-06-17 00:40:28 +10:00 |
|
Sam Potts
|
de45de0e0b
|
Merge pull request #1040 from friday/switches-get-stitches
Switches code optimizations
|
2018-06-17 00:39:35 +10:00 |
|
Albin Larsson
|
99c10aa1fc
|
Replace switch in controls.createProgress with object literal
|
2018-06-16 07:27:04 +02:00 |
|
Albin Larsson
|
2a186e425b
|
Replace switch in support.mime with object literal and conditions, and make it return boolean
|
2018-06-16 07:27:04 +02:00 |
|
Albin Larsson
|
64bb206d85
|
Replace switch in support.check with simpler conditions
|
2018-06-16 07:27:04 +02:00 |
|
Albin Larsson
|
2d6732d580
|
Replace switch in controls.createLabel with object literal
|
2018-06-16 07:25:34 +02:00 |
|
Albin Larsson
|
8f359adf9c
|
Fix captions.toggle order
|
2018-06-16 01:34:55 +02:00 |
|
Albin Larsson
|
1f09493ba2
|
Captions: Handle uppercase input (like before)
|
2018-06-16 01:07:16 +02:00 |
|
Albin Larsson
|
115f352ade
|
Respect call order and prioritize public API calls for setting poster, in order to avoid race conditions
|
2018-06-15 23:56:47 +02:00 |
|
Albin Larsson
|
2af60c5c0d
|
Add 'ready' promise
|
2018-06-15 23:01:33 +02:00 |
|
Albin Larsson
|
aab2817ddc
|
Copy poster when creating new media element for YouTube and Vimeo (needed for #1018)
|
2018-06-15 22:57:16 +02:00 |
|
Albin Larsson
|
f1c4752036
|
Filter out null / undefined in elements.setAttributes
|
2018-06-15 22:52:19 +02:00 |
|
Albin Larsson
|
88735e3146
|
Replace switch in controls.updateSetting with condition
|
2018-06-15 15:57:10 +02:00 |
|
Albin Larsson
|
c373ed72d7
|
Replace switch in YouTube error handler with object literal
|
2018-06-15 15:57:10 +02:00 |
|
Albin Larsson
|
213cfe8c84
|
Replace switch in media.js with simpler conditions
|
2018-06-15 15:57:10 +02:00 |
|
Albin Larsson
|
87ea5e14b4
|
Replace provider switch plyr.js with conditions
|
2018-06-15 15:57:10 +02:00 |
|
Albin Larsson
|
2aa967aba9
|
Replace switch in source.js with destructuring
|
2018-06-15 12:33:30 +02:00 |
|
Sam Potts
|
d522e40594
|
Merge pull request #1034 from friday/remove-array-newline-rule
Suggestion: Remove array newline rule
|
2018-06-15 15:34:29 +10:00 |
|
Sam Potts
|
3cd2b9a6c3
|
Merge pull request #1036 from friday/captions-passive-toggle
Captions fixes (again)
|
2018-06-15 15:33:39 +10:00 |
|
Albin Larsson
|
19e412a73a
|
Add 'passive' flag to internal captions methods to avoid overriding user preferences, support multiple browser languages (get first match) and improve comments
|
2018-06-15 06:07:04 +02:00 |
|
Albin Larsson
|
cf5f77c709
|
Fix menu transitionend event listener
|
2018-06-15 05:51:23 +02:00 |
|
Sam Potts
|
4811e3333f
|
Merge pull request #1035 from sampotts/friday-contrib-2
Contributions improvements
|
2018-06-15 11:04:33 +10:00 |
|
Albin Larsson
|
8257857075
|
Wrap caption toggle event listener callback to avoid sending event
|
2018-06-15 02:44:00 +02:00 |
|
friday
|
e3e4e60fdb
|
Contributions improvements
General improvements and new sections
|
2018-06-14 19:50:59 +02:00 |
|
Albin Larsson
|
6ce9a94932
|
Move internal event listeners for captions with direct handling in the captions object
|
2018-06-14 16:41:16 +02:00 |
|
Albin Larsson
|
fa5d0ad316
|
Move toggleCaption internals to captions object
|
2018-06-14 15:58:35 +02:00 |
|
Albin Larsson
|
6bff6b317d
|
Remove line breaks in arrays
|
2018-06-13 23:27:35 +02:00 |
|
Albin Larsson
|
99ac8d4c52
|
Remove array-newline rule
|
2018-06-13 22:07:32 +02:00 |
|
Sam Potts
|
019e1f80ca
|
Merge pull request #1032 from friday/event-2
Fix condition in events.toggleListener to allow non-elements
|
2018-06-13 23:16:46 +10:00 |
|
Albin Larsson
|
2fe98f3721
|
Fix condition in events.toggleListener to allow non-elements
|
2018-06-13 14:29:55 +02:00 |
|
Sam Potts
|
5c08363400
|
Merge pull request #1030 from friday/event-improvements
Minor event changes
|
2018-06-13 10:52:17 +10:00 |
|
Albin Larsson
|
927326f715
|
Also remove 'once' event listeners when destroying (they may still be waiting)
|
2018-06-12 20:00:41 +02:00 |
|
Albin Larsson
|
53933dff7e
|
Use toggleListener in trapFocus
|
2018-06-12 19:39:26 +02:00 |
|
Albin Larsson
|
f15c1344b0
|
Removed support for multiple elements in toggleListener
|
2018-06-12 19:10:00 +02:00 |
|
Albin Larsson
|
fb48b330cc
|
typo
|
2018-06-12 17:41:17 +02:00 |
|
Sam Potts
|
5dddf8b0ec
|
Logic cleanup
|
2018-06-13 00:56:31 +10:00 |
|
Sam Potts
|
0ecf7e3854
|
Force string on format
|
2018-06-13 00:48:42 +10:00 |
|
Sam Potts
|
aae1092bac
|
Merge branch 'develop' of github.com:sampotts/plyr into develop
# Conflicts:
# src/js/captions.js
# src/js/controls.js
# src/js/fullscreen.js
# src/js/html5.js
# src/js/listeners.js
# src/js/plugins/youtube.js
# src/js/plyr.js
# src/js/utils.js
|
2018-06-13 00:41:30 +10:00 |
|
Sam Potts
|
7158e507ad
|
Merge pull request #1029 from cky917/develop
remove event listeners in destroy()
|
2018-06-13 00:05:31 +10:00 |
|
Sam Potts
|
70f3390ffe
|
Merge pull request #1028 from a60814billy/fix/cancel-request-not-remove-source-tag-correctly
fix: html5.cancelRequest not remove source tag correctly
|
2018-06-13 00:03:24 +10:00 |
|
Sam Potts
|
392dfd024c
|
Utils broken down into seperate files and exports
|
2018-06-13 00:02:55 +10:00 |
|
cky
|
87170ab460
|
remove event listeners in destroy, add once method
|
2018-06-12 21:18:05 +08:00 |
|
BoHong Li
|
ee4c044d27
|
fix: html5.cancelRequest not remove source tag correctly
|
2018-06-12 11:35:31 +08:00 |
|
Sam Potts
|
0b09b8ee6f
|
Merge pull request #1027 from friday/quality
Minor code improvements for quality switching
|
2018-06-12 11:13:34 +10:00 |
|