1302 Commits

Author SHA1 Message Date
Sam Potts
39c6049850 chore: minor syntax tweaks 2023-03-11 22:28:24 +11:00
Sam Potts
0202e8efb0 fix(a11y): leverage native :focus-visible in CSS 2023-03-11 21:15:32 +11:00
Sam Potts
e17d0220c0 fix(a11y): add timer role to time elements 2023-03-11 21:14:43 +11:00
Sam Potts
aa4eaec742 fix(a11y): don’t set tabindex on parent container 2023-03-11 21:14:13 +11:00
Sam Potts
851c39d44e chore(release): 3.7.6 2023-03-10 12:38:52 +11:00
Sam Potts
b8c40ead0a chore(release): 3.7.5 2023-03-10 07:29:25 +11:00
Sam Potts
2b3e483b36 chore(release): 3.7.4 2023-03-09 23:14:21 +11:00
Sam Potts
69ef4ec827 chore: remove unused import 2023-03-09 23:11:39 +11:00
Sam Potts
d6cc19f2d8 fix: remove erroneous scss 2023-03-09 23:09:01 +11:00
Sam Potts
c4a566dbff feat: remove need for iOS-specific styling 2023-03-09 22:33:37 +11:00
Sam Potts
62436d8e8e fix: fullscreen improvements for iOS & iPadOS 2023-03-09 22:33:21 +11:00
Morgan Zolob
41e2454bd2
Call preview-thumbnails listeners() function on load (#2604)
The listeners() function in preview-thumbnails.js was never called, so some functionality was broken.

Fixes #2210.
2023-02-25 13:04:13 +11:00
André Melo
fa634a1bbb
fix(issue #2624): Changing player.embed function call from setVolume to setMuted in src/plugins/Vimeo.js. (#2628)
setVolume(0) used before by muted button, didn't work on IOS

Co-authored-by: Andre Fernandes Cristofolini Melo <andre.melo@dotgroup.com.br>
2023-02-25 13:02:06 +11:00
Roy Eden
f7d2938f42
Fixed event key with space (#2581)
* Fixed event key with space

* Fixed spacebar `event.key` in `controls.js`
2022-12-31 11:15:13 +11:00
Sam Potts
20bf5a8833 chore(release): 3.7.3 2022-11-17 17:36:00 +11:00
Sam Potts
de0402bebf fix: simplify logic for isFunction assertion method 2022-11-17 12:23:41 +11:00
Sam Potts
db1b89b1c1 chore: update types to include string for controls 2022-11-17 12:23:41 +11:00
Sam Potts
ea3675fcdc fix: revert pip change for iphone and add comment 2022-11-17 12:23:41 +11:00
Sam Potts
69ced1313a fix: force nowrap in progress tooltips 2022-11-17 12:23:41 +11:00
ebraminio
6a62e3d085
i18n: Make captions autodetect text direction (#2540)
This uses browser mechanism for detecting appropiate direction for text, dir=auto.
2022-11-17 12:22:10 +11:00
Raad Altaie
c115dfc6a6
fixed menu border radius bug (#2548) 2022-11-17 12:13:40 +11:00
happyjake
6030b300f6
fix iPhone no PIP bug (#2533) 2022-11-17 11:57:04 +11:00
Nikola Stamatović
e0fb524382
navigator.platform is deprecated (#2530)
I'm submitting a little update for browser detection:

1. `navigator.platform` is deprecated - it's prefered to use `navigator.userAgent` https://developer.mozilla.org/en-US/docs/Web/API/Navigator/platform
2. No need for the brackets in the RegEx - you can test this on https://regex101.com

And that's about it. Maybe I missed the point, do let me know! ❤️
2022-09-15 15:08:03 +10:00
NoirHusky
ebda039395
Added configurable property to elements for re-use (#2489) 2022-09-09 22:52:01 +10:00
Emil Karlsson
cacaef7def
Improve accessibility on control buttons with aria-pressed (#2523) 2022-09-09 22:46:24 +10:00
CK Hicks
42b8f7bdab
Fix for calc() in newer Dart Sass versions (#2519) 2022-09-09 22:45:16 +10:00
Sam Potts
c90f044dac v3.7.2
- Fix: Add `@babel/plugin-proposal-optional-chaining` to transform optional chaining in build output
2022-04-20 20:15:42 +10:00
Sam Potts
537ad2fe7d v3.7.1
- Feat: Minor styling improvements to the preview thumbnails (🚨 Requires a SCSS/CSS update 🚨)
- Fix: fix invalid CSS @charset rule in Sass files (thanks @Hashen110!)
- Chore: Replace deprecated KeyboardEvent `keyCode` references to use `key` instead (thanks @Hashen110!)
- Various other code clean up and typo fixes (thanks @Hashen110!)
2022-04-20 15:02:17 +10:00
Sam Potts
e7621bec0f chore: syntax tweak 2022-04-20 14:52:39 +10:00
Sam Potts
04e6c43da7 chore: fix typo in comment 2022-04-20 14:50:14 +10:00
Sam Potts
73bfb5211b feat: minor tweaks to the preview thumbs UI 2022-04-20 14:31:42 +10:00
Hashen
4a78b656da
fix JSDoc comments (#2468) 2022-04-19 22:00:48 +10:00
Hashen
776fd099f3
fix invalid CSS @charset rule (#2466) 2022-04-19 22:00:20 +10:00
Hashen
bdcd98f4a7
remove redundant local variable (#2467) 2022-04-19 21:59:29 +10:00
Sam Potts
412d5df06e fix: use consistent border-radius variable 2022-04-18 22:34:03 +10:00
Sam Potts
3e35461e04 chore: use key property of KeyboardEvent 2022-04-18 22:34:03 +10:00
Hashen
1edec28d86
remove deprecated keyCode (#2463) 2022-04-18 22:23:22 +10:00
Hashen
99a7e9e1d7
fix typo (#2464) 2022-04-18 22:16:06 +10:00
Hashen
3f09cf566b
fix typo in a comment (#2462)
* fix typo in a comment

* fix typo in a comment
2022-04-18 21:42:52 +10:00
Hashen
29318591c0
add markers types (#2460) 2022-04-18 21:24:35 +10:00
Sam Potts
d434c9af16 v3.7.0
- Feat: Add markers support (🚨 Requires a SCSS/CSS update 🚨) (thanks @ForeverSc and @fengshuo!)
- Feat: Add support for MediaMetadata (thanks @Hashen110!)
- Fix: Pass this context to captions.setup (fixes #2352) (thanks @WilliamMHerring, @willherring and @zenyr!)
- Fix: Modify vimeo parseHash to use non-named capture groups (fixes #2396) (thanks @fekle!)
- Fix: Replace deprecated String.prototype.substr() (thanks @CommanderRoot!)
- Docs: Update speed option default to match the source (thanks @ozgurg!)
- Docs: SASS → Sass (thanks @toastal!)
2022-04-18 21:02:28 +10:00
Sam Potts
1d4869beee feat: tweaks to markers logic and design 2022-04-18 20:15:30 +10:00
Sam Potts
02456d6ba3 Merge branch 'develop' 2022-04-18 11:44:11 +10:00
Jinhyeok Lee
ba67920025
Fix 'this' while switching subtitle tracks (#2441)
When you switch a subtitle track you'll get

`TypeError: Cannot read properties of undefined (reading 'ui')` in `captions.js`'s `captions.setup`,

Because `captions.setup` is being called without proper `this` binding.
2022-04-18 11:43:44 +10:00
CommanderRoot
6b8e0f25d6
Replace deprecated String.prototype.substr() (#2427)
String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr) so we replace it with slice() which works similarily but isn't deprecated.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-04-18 11:42:45 +10:00
Felix Klein
895299a4b3
modify vimeo parseHash to use non-named capture groups (#2426) 2022-04-18 11:40:19 +10:00
Will Herring
9157ac09ed
pass this context to captions.setup (#2399)
Co-authored-by: Will Herring <will.herring@eventcore.com>
2022-04-18 11:38:54 +10:00
toastal
2b6208565f
SASS → Sass (#2436)
Sass is neither an acronym nor initialism. Sass also was never stylized
as SASS such as Less being stylized as both LESS and {less}.

http://www.sassnotsass.com/
2022-03-01 15:32:05 +11:00
Hashen
6bc447b916
feat: add MediaMetadata (#2410)
* change browserslist to cover 100% not dead browsers

* feat: add MediaMetadata

* Revert browserslist change

Co-authored-by: Sam Potts <sam@potts.es>
2022-02-24 23:42:58 +11:00
ForeverSc
4632614ced
feat: add markers (#2386)
Co-authored-by: fengshuo <fengshuo@bilibili.com>
2022-02-12 20:35:52 +11:00