115f352ade
Respect call order and prioritize public API calls for setting poster, in order to avoid race conditions
Albin Larsson
2018-06-15 23:56:47 +02:00
2aa967aba9
Replace switch in source.js with destructuring
Albin Larsson
2018-06-15 12:33:30 +02:00
d522e40594
Merge pull request #1034 from friday/remove-array-newline-rule
Sam Potts
2018-06-15 15:34:29 +10:00
3cd2b9a6c3
Merge pull request #1036 from friday/captions-passive-toggle
Sam Potts
2018-06-15 15:33:39 +10:00
19e412a73a
Add 'passive' flag to internal captions methods to avoid overriding user preferences, support multiple browser languages (get first match) and improve comments
Albin Larsson
2018-06-15 06:06:16 +02:00
5dddf8b0ec
Logic cleanup
Sam Potts
2018-06-13 00:56:31 +10:00
0ecf7e3854
Force string on format
Sam Potts
2018-06-13 00:48:42 +10:00
aae1092bac
Merge branch 'develop' of github.com:sampotts/plyr into develop
Sam Potts
2018-06-13 00:41:30 +10:00
7158e507ad
Merge pull request #1029 from cky917/develop
Sam Potts
2018-06-13 00:05:31 +10:00
70f3390ffe
Merge pull request #1028 from a60814billy/fix/cancel-request-not-remove-source-tag-correctly
Sam Potts
2018-06-13 00:03:24 +10:00
392dfd024c
Utils broken down into seperate files and exports
Sam Potts
2018-06-13 00:02:55 +10:00
87170ab460
remove event listeners in destroy, add once method
cky
2018-06-12 20:55:31 +08:00
ee4c044d27
fix: html5.cancelRequest not remove source tag correctly
BoHong Li
2018-06-12 11:35:31 +08:00
0b09b8ee6f
Merge pull request #1027 from friday/quality
Sam Potts
2018-06-12 11:13:34 +10:00
db95b3234f
Move uniqueness filter from getQualityOptions to setQualityMenu
Albin Larsson
2018-06-11 17:00:34 +02:00
6d2dad5810
Trigger qualityrequested event unconditionally when trying to set it (needed for streaming libraries to be able to listen)
Albin Larsson
2018-06-11 20:41:53 +02:00
81ee3f759c
Remove todo comment about Vimeo support for setting quality (they don't support it)
Albin Larsson
2018-06-11 08:56:13 +02:00
ed606c28ab
Filter out unsupported mimetypes in getSources() instead of the quality setter
Albin Larsson
2018-06-11 06:34:02 +02:00
f15e07f7f5
Simplify logic in youtube.mapQualityUnit (not that it matters much now)
Albin Larsson
2018-06-11 20:21:37 +02:00
cd14c3086d
Merge pull request #1025 from azu/patch-1
Sam Potts
2018-06-11 20:16:18 +10:00
41184b82ee
Fix markdown in README
azu
2018-06-11 19:12:35 +09:00
6a6f3914c0
Merge branch 'develop' into a11y-improvements
Sam Potts
2018-06-11 17:13:09 +10:00
4c1337b4c5
Assure type safety in getSources() and getQualityOptions() (always return arrays), and remove external conditions and type conversion no longer needed
Albin Larsson
2018-06-11 03:21:18 +02:00
38f10d4cc6
WIP
Sam Potts
2018-06-11 16:19:11 +10:00
1ad76800b0
Merge pull request #1024 from friday/event-bubble-detail
Sam Potts
2018-06-11 16:13:02 +10:00
1fab4919c0
controls.createMenuItem: Change input to object (too many params made it hard to read)
Albin Larsson
2018-06-09 14:14:34 +02:00
9dc0f28800
Avoid condition in getTracks
Albin Larsson
2018-06-08 21:16:17 +02:00
b57784d1a5
Change debug warn 'Unsupported language option' to log 'Language option doesn't yet exist' since it doesn't have to be an error
Albin Larsson
2018-06-08 13:45:20 +02:00
1d0cf16254
Readme: Replace streaming section with codepen templates for all supported formats and libraries (and updated code)
Albin Larsson
2018-06-07 11:47:34 +02:00
84424f7f67
fix: when the seek input is focused and the video is playing, the space key can't make the video pause, because after 'keyup', it always make the video play
cky
2018-06-06 19:27:07 +08:00