Sam Potts
18b3f23c69
chore: update packages and linting
2020-08-30 16:10:25 +10:00
taylorchu
3c1ba2397b
allow custom control as element
2020-04-28 15:28:36 -07:00
Sam Potts
502d5977d7
Converted to 2 space indentation
2020-04-11 16:23:14 +10:00
Benoît Burgener
bc8a25d0da
Completely hide SVG icons to screen readers
...
SVG icons should be ignored by screen readers since they have complimentary labels (aria-label or plyr__sr-only). The current « presentation » role simply makes the element behave like a « span » which is incorrect, aria-hidden prevents screen readers from taking care of these elements at all.
2020-02-25 10:46:31 +01:00
Sam Potts
1619510dcf
Speed settings logic improvements
2020-02-10 18:34:05 +00:00
Sam Potts
74ba6a96fc
Set download attribute for HTML5 only
2020-02-09 10:36:32 +00:00
Sam Potts
90dc985657
Clean up speed options logic
2020-02-08 23:09:41 +00:00
Sam Potts
b5456e1de7
Merge pull request #1671 from ydylla/improve-speed-options
...
Use the configured speed options
2020-02-08 22:29:49 +00:00
Code1110
c33f0995f9
add download attribute to download button
2020-02-07 18:15:56 +01:00
ydylla
299f712cc9
actually use the configured speed options
2020-02-01 16:37:38 +01:00
Sam Potts
a2498acf7c
Manually merge PR #1629
2020-01-14 07:44:59 +00:00
Sam Potts
b2d3ef5f38
Merge pull request #1505 from nskazki/detach-event-listeners-on-destroy
...
Detach event listeners on destroy
2020-01-13 16:31:17 +00:00
Sam Potts
0b240ae7d1
Fix linting issues
2020-01-13 16:20:02 +00:00
nskazki
b36b92b247
Detach event listeners on destroy
...
if "on" receives "this", it attaches "eventListeners" array to "this" and stores "{ element, type, callback }" hash in there.
later, during the destruction process, all the entries from this array will be processed by "unbindListeners" helper to detach all the event listeners.
2019-07-19 16:26:01 +03:00
Sam Potts
8fc6c2ba52
File rename and clean up
2019-06-21 00:19:37 +10:00
Sam Potts
c9055f391b
Linting changes
2019-06-01 18:45:07 +10:00
Sam Potts
5ddd9e02de
Fix for the menu in the shadow DOM
2019-04-25 12:09:46 +10:00
Sam Potts
a064f0b4fd
Merge branch 'develop' of github.com:sampotts/plyr into develop
2019-04-25 12:04:38 +10:00
Sam Potts
f0d3e8c3b9
Fix for className being wiped out
2019-04-25 12:01:52 +10:00
Emiel Beinema
a91652287b
Don't close menu on click in menu in webcomponent
2019-04-15 12:17:10 +02:00
Emiel Beinema
2cf44c236d
Use querySelector on container for showMenuPanel
2019-04-15 12:16:48 +02:00
Sam Potts
cdacae6697
Set download URL via setter
2019-04-12 19:00:17 +10:00
Sam Potts
522135adaf
Merge branch 'develop' of github.com:sampotts/plyr into develop
2019-02-19 00:19:40 +11:00
Sam Potts
153b8dc6bb
Added RangeTouch, updated Shr lib in demo
2019-02-19 00:19:25 +11:00
Robert Kraig
38cb20706f
Merge pull request #1 from robertkraig/defect/update-progress-element-axe-error
...
Updating accessibility attribute to progressbar
2019-01-30 12:06:37 -08:00
Robert Kraig
c730866efe
Updating accessibility attribute to progressbar
...
aXe complains this is a non-compatible attribute to be set as `role="presentation"`
2019-01-30 12:05:12 -08:00
Sam Potts
6782737009
Fullscreen fixes
2019-01-14 00:33:48 +11:00
Raccoon
0e181133c1
Calling customized controls function with proper arguments
2018-11-12 15:37:46 +08:00
Sam Potts
03c9b53232
Allow custom download URL (for streaming, etc)
2018-10-24 22:31:35 +11:00
Sam Potts
c232eb2478
Fix SVG issue for older browsers ( fixes #1191 )
2018-10-24 22:30:41 +11:00
Sam Potts
fac134dd95
Added download button
2018-09-28 00:42:42 +10:00
Sam Potts
f80b568e67
Reverted large pause button
2018-09-25 23:07:48 +10:00
Sam Potts
62d80e6b76
Fix touch vs click issue
2018-09-25 20:43:09 +10:00
Sam Potts
922456c46c
Fix for nodeList as buttons
2018-08-14 12:13:00 +10:00
Sam Potts
7a43649c13
Fix play/pause button state
2018-08-14 11:17:27 +10:00
Sam Potts
cfaebe9bf2
Fix for controls missing ( fixes #1161 )
2018-08-14 09:17:58 +10:00
Sam Potts
286d0d1794
Fix for pressed property missing with custom controls ( Fixes #1062 )
2018-08-13 23:52:10 +10:00
Sam Potts
468b20d227
Moved mute button inside plyr__volume
2018-08-13 23:42:12 +10:00
Sam Potts
297f297d18
Moved i18n to utils
2018-08-13 21:39:16 +10:00
Sam Potts
0bc6b1f1b3
Fix issue where enter key wasn’t setting focus correctly
2018-08-05 22:41:21 +10:00
Sam Potts
4ea458e1a3
Rounded aria-valuetext to 1 decimal place
2018-08-05 21:48:42 +10:00
Sam Potts
aacb172017
Removed aria-labelled-by
2018-08-05 21:48:21 +10:00
Sam Potts
aaa56caa9c
Only focus button if menu wasn’t hidden already
2018-08-01 01:38:57 +10:00
Sam Potts
c8db1e55dd
Escape closes menu
2018-08-01 01:26:15 +10:00
Sam Potts
2371619486
Linting
2018-08-01 00:56:44 +10:00
Sam Potts
13a54b5dbe
Merge branch 'develop' into a11y-improvements
...
# Conflicts:
# src/js/controls.js
2018-08-01 00:46:26 +10:00
Sam Potts
748aa5179f
Comments about keydown vs keyup for Firefox
2018-08-01 00:38:19 +10:00
Sam Potts
56a485bac6
Fix Firefox spacebar issue
2018-08-01 00:37:55 +10:00
Albin Larsson
db22a8e9c4
Improve handling of the 'controls' argument
2018-07-31 00:43:56 +02:00
Sam Potts
dae272ef66
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.map
# dist/plyr.polyfilled.min.js
# dist/plyr.polyfilled.min.js.map
# package.json
# src/js/plyr.js
2018-07-30 23:09:12 +10:00