1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-25 02:42:10 +02:00
Commit Graph

4025 Commits

Author SHA1 Message Date
Alex Barstow
1299daf16c refactor: remove extend() and tests (#7950)
BREAKING CHANGE: This removes the videojs.extend() method, please use ES6 classes instead.
2022-11-23 09:49:30 -05:00
mister-ben
f2aa0d7d13 feat: Use picture el for poster (#7865)
BREAKING CHANGE: This changes the DOM structure used for the video poster.
2022-11-23 09:49:29 -05:00
Gary Katsevman
b0101a6b9b feat: Enable sourceset by default (#7879)
Can still be disabled with enableSourceset: false
2022-11-23 09:49:29 -05:00
Gary Katsevman
d4559b1ebe feat: make retryOnError be the default (#7868)
This means that a retryOnError is removed and is no longer needed for
this behavior, which means that during source selection, if a source
fails, it'll try the next source that's available, to match the video
element.

BREAKING CHANGE: remove retryOnError option, turn it on by default
2022-11-23 09:49:28 -05:00
Gary Katsevman
bd54b4112e fix: update icons import path for sass (#7867)
This updates the path to remove node_modules as some tools expect the
module name to be first. This is particularly important for PnP tools as
local node_modules may not have the module.

Fixes #7208, fixes #7863

BREAKING CHANGE: update icons path in sass to remove node_modules
2022-11-23 09:49:28 -05:00
Grzegorz Blaszczyk
9b3d9415aa feat: addClass and removeClass method supports adding/removing multiple classes (#7798) 2022-11-23 09:49:27 -05:00
mister-ben
63a2d027f4 feat: remove closest fallback (#7853) 2022-11-23 09:49:27 -05:00
Roman Pougatchev
f46b83002e feature: Remove support for setting nonstandard attributes as props (#7857)
* remove statement that handles attributes in props argument

* clean up function

* add unit test

* add unit test

* remove duplicate set attr

* revert function cleanup
2022-11-23 09:49:26 -05:00
Roman Pougatchev
706983caa3 feat: Remove references and logic related to Flash and SWF (#7852)
* remove flash references, update comments & tests

* remove references to swf & stageclick listener
2022-11-23 09:49:26 -05:00
Pat O'Neill
a5e7222353 feat(lang): use less ambiguous text for the fullscreen button when in fullscreen mode (#7856) 2022-11-23 09:49:25 -05:00
Pat O'Neill
5d165dc33c feat: add a new title bar component (#7788) 2022-11-23 09:49:25 -05:00
Roman Pougatchev
e4945cb78c refactor: Remove logic and style that accommodates non-flex fallbacks (#7820) 2022-11-23 09:49:24 -05:00
Pat O'Neill
a0fd14894c feat: playback rate button now opens the menu rather than changing the playback rate (#7779)
BREAKING CHANGE: This changes the behavior of the playback rate button.
2022-11-23 09:49:24 -05:00
Pat O'Neill
cc84ff4f80 refactor: remove internal Map, Set, and WeakMap shams, assume window.performance and requestAnimationFrame support (#7775) 2022-11-23 09:49:24 -05:00
Pat O'Neill
28029d93f4 feat: update exposed utility functions and deprecate several top-level methods of the videojs global (#7761) 2022-11-23 09:49:23 -05:00
Alex Barstow
bd8aebb827 refactor: remove ie-specific code (#7701)
BREAKING CHANGE: This will cause Video.js to fail in many cases in all versions of Internet Explorer.
2022-11-23 09:48:13 -05:00
Alex Barstow
dd1b478e4d feat: assume native promises, remove promise option and workarounds (#7715)
BREAKING CHANGE: Removes support for Promise class option and assumes native Promise is available. Will break in older browsers or devices.
2022-11-23 09:48:13 -05:00
Alex Barstow
f99ace0fba revert: revert #7067 so we throw an error for invalid event types (#7719)
BREAKING CHANGE: Instead of logging an error message, invalid events will now trigger an `Error` which will terminate the call stack.
2022-11-23 09:48:13 -05:00
hugorogz
c190b21de7 feat: remove the firstplay event (#7707)
Co-authored-by: Hugo Rodriguez <hrodriguez@brightcove.com>

BREAKING CHANGE: Removes the firstplay event. Use one('play') instead.
2022-11-23 09:48:12 -05:00
hugorogz
9d832eca5f feat: export more helpers in videojs object (#7717)
Co-authored-by: Hugo Rodriguez <hrodriguez@brightcove.com>
Co-authored-by: Pat O'Neill <pgoneill@gmail.com>
2022-11-23 09:48:12 -05:00
Alex Barstow
1281d68d78 chore: Update preset env, drop IE11 and older browser support (#7708) 2022-11-23 09:48:11 -05:00
Alex Barstow
3faa866834 feat: Change addRemoteTextTrack's manualCleanup option default value to false (#7588) 2022-11-23 09:48:11 -05:00
Gary Katsevman
47711303d6 chore: update karma-config to 8 to drop ie11 and older browsers (#7547) 2022-11-23 09:48:10 -05:00
Gary Katsevman
4f8227d5c4 7.21.1 2022-11-21 12:57:50 -05:00
Gary Katsevman
1c2be966f4
fix: update @videojs/http-streaming to 2.15.1 (#8010)
Fixes #7998, fixes #7958.
2022-11-21 12:49:52 -05:00
Grzegorz Blaszczyk
e49286a81c
fix: last timeout in queueTrigger() never clears map (#7964) 2022-10-20 18:10:50 -04:00
Pat O'Neill
b58a2201c4
fix: deprecate the extend() function (#7944)
This function will be removed in Video.js 8.0
2022-10-03 17:22:01 -04:00
Gary Katsevman
ce1baba3cb
chore: fix mixed content warnings from netlify (#7946) 2022-10-03 11:07:25 -04:00
Gary Katsevman
5bcf4d1c9b 7.21.0 2022-09-15 11:35:46 -04:00
H.M Maruf
12b9e8d6ef
feat(lang): Add Bengali (bn) translations (#7823) 2022-09-15 11:15:17 -04:00
Quentí
e47f48c0ea
fix(lang): Update Occitan translation (#7888) 2022-09-15 11:14:37 -04:00
Gary Katsevman
9e38ca4af5
feat: update VHS to 2.15.0 (#7929) 2022-09-15 11:13:52 -04:00
Gary Katsevman
4e2f8add41 7.20.3 2022-09-09 14:02:56 -04:00
mister-ben
d736541ba6
fix: allow for techs that init slowly in rvfc (#7864)
Don't call tech.paused() in the requestVideoFrameCallback fallback if the tech is not ready. I've seen this is an issue in the Flash tech, as its methods are set up after the swf loads. Yes, Flash, it's 2022, but in theory another tech could be impacted if it's also async.
2022-09-09 13:52:34 -04:00
Owen Edwards
ed4524eb01
docs: update FAQ.md to match change in #7892 (#7893) 2022-09-09 13:51:03 -04:00
mister-ben
9b81afee80
fix: Use timeupdate as well as rvfc/raf for cues (#7918)
Use the timeupdate event as well as the rvfc and raf callbacks to check cues. This is a bit overkill for "usual" playback but avoids edge cases. If the more preceise callback trigger first the cue will update but the timeupdate event should catch any that were missed, notwithstanding that timeupdate was always somewhat unpredictable.

Fixes #7910 (audio in video els and Samsung being weird) and fixes #7902 (no updates off screen).
2022-09-09 13:50:21 -04:00
Alex Barstow
28105071d3
fix(package): Update to @videojs/http-streaming 2.14.3 and videojs-vtt.js 0.15.4 (#7907) 2022-09-01 11:58:09 -04:00
Gary Katsevman
3c70573fe8
chore: update FAQ redirect (#7892)
Fixes videojs/videojs.com#159
2022-08-24 17:10:45 -04:00
mister-ben
0211d736de
chore(docs): use https URLs in noUITitleAtttributes example (#7809) 2022-08-02 12:38:05 -04:00
Ikko Ashimine
9ca2e8764a
refactor: fix typo in player.js (#7805)
langauge -> language
2022-08-02 12:31:22 -04:00
Gary Katsevman
d31cd1b8b9 7.20.2 2022-07-28 14:50:08 -04:00
Damian Czupryn
76b8ee8669
fix(lang): Update Polish language (#7821) 2022-07-28 14:40:21 -04:00
mister-ben
d178d9ae3c
fix: Conditional requestVideoFrameCallback on Safari (#7854)
Safari's requestVideoFrameCallback is (intentionally?) broken when DRM is playing, so in that case use the fallback with requestAnimationFrame instead.
2022-07-28 14:20:46 -04:00
Timothy Wittman
ebe9f32f66
fix(lang): fixes key spacing within fr.json file (#7848)
Co-authored-by: Timothy Wittman <timothywittman@adt.com>
2022-07-28 13:35:14 -04:00
André
1be46d4ebf
chore(lock-threads): run only daily at 1:00 am, and skip in forks (#7832)
* chore(lock-action): performed daily at 1:00 am

* Skip for forks

Co-authored-by: mister-ben <git@misterben.me>
2022-07-11 13:55:36 +02:00
André
1445f87800
fix(control-bar): audio player no longer responds to touch events (#7825) 2022-07-01 15:17:43 -04:00
Joe Flateau
b22a08aad0
fix: need to determine featuresVideoFrameCallback before setting source (#7812)
the tech needs to know whether or not the underlying element supports requestVideoFrameCallback before calling setSource

Fixes #7807
2022-06-28 16:01:00 -04:00
Pat O'Neill
fb43a69e70 7.20.1 2022-05-31 15:56:33 -04:00
mister-ben
27f22efe6b
fix: Don't copy deprecated Event.path (#7782) 2022-05-31 15:51:12 -04:00
mister-ben
a14ace202b
fix: HTML5 tech with audio tag shouldn't use requestVideoFrameCallback (#7778) 2022-05-31 15:50:51 -04:00