issues
search
vlitejs
/
vlite
🦋 vLitejs is a fast and lightweight Javascript library for customizing video and audio player in Javascript with a minimalist theme (HTML5, Youtube, Vimeo, Dailymotion)
https://vlite.js.org
MIT License
268
stars
18
forks
source link
Optimize accessibility
#58
Closed
yoriiis
closed
2 years ago
yoriiis
commented
2 years ago
Updates
Move keydown event to the player element instead of document
Player has the focus after the big play button click and after the subtitle button (inside the list) click
Add focus on first subtitle button when the subtitle menu is opened
Remove keydown restriction on specific tags (
#57
)
Limit keydown actions when the player or children's player has the focus
Refacto
onKeyDown
function by categories
Replace
querySelector
by cached elements
Refacto subtitle click event and use
validateTarget
for event delegation
Fixes
Fix auto hide broken with
isPaused
Prevent focus to be captured by the iframe
Fix Youtube progress bar updates on tabulation navigation
Updates
onKeyDown
function by categoriesquerySelector
by cached elementsvalidateTarget
for event delegationFixes
isPaused