Grzegorz Blaszczyk
33b476d7cc
fix: use Screen Orientation API where supported ( #8031 )
...
* feat: introduces Screen Orientation API for detecting orientation change
* feat: add missing unit tests
2023-02-01 18:05:41 +01:00
Jacob Hamblin
267b5c6bff
fix: Exit PIP if entering fullscreen ( #8082 )
...
* exit PIP if entering fullscreen
* assert that entering full screen leaves PiP
2023-02-01 18:03:36 +01:00
Pat O'Neill
9bda6be36c
chore: roll back remark dev dependencies to address failing release automation ( #8021 )
2023-02-01 11:48:25 -05:00
Liberal dev
b430ea8034
fix wrong translation ( #8091 )
2023-01-27 17:08:19 +01:00
mister-ben
68fec76202
fix(lang): Remove dupelicate entry in en.json ( #8093 )
...
Removes duplicate `Exit Fullscreen`
2023-01-27 16:58:41 +01:00
Grzegorz Blaszczyk
2e96253632
fix: Improves types for registerPlugin and getPlugin ( #8058 )
...
* fix: improves types for registerPlugin and getPlugin
* fix: corrects parameter type for registerPlugin
* docs(fix): add support for {typeof class} expression
* chore: move js-doc-typeof-plugin to build dir
2023-01-24 22:07:30 +01:00
mister-ben
509b3d0757
fix: Ensures iOS can use native fullscreen ( #8071 )
2023-01-24 11:45:49 +01:00
mister-ben
3accbc7c73
fix: Set alt attr on poster img ( #8043 )
...
* fix: Set alt attr on poster img
* use null alt instead
* remove debug text
2023-01-24 09:59:27 +01:00
Adam Waldron
e21d295d77
chore: add missing translations ( #8083 )
2023-01-23 10:44:10 -08:00
Alex Barstow
df71bb0a2c
8.0.3
2023-01-05 13:28:50 -05:00
Alex Barstow
40e1d47763
fix(package): Upgrade to videojs-contrib-quality-levels 3.0.0 ( #8055 )
2022-12-22 16:18:27 -05:00
mister-ben
e59222a4ff
chore: Update lock thrads dependency ( #8044 )
2022-12-13 09:52:52 +01:00
mister-ben
c414d6278b
8.0.2
2022-11-24 17:19:31 +01:00
mister-ben
dff3dd4155
fix: Add poster size styles ( #8022 )
2022-11-24 17:11:40 +01:00
Pat O'Neill
84062c3b0c
8.0.1
2022-11-23 16:23:06 -05:00
Pat O'Neill
b5d487ca0a
chore: gh-release build script no longer needed ( #8020 )
2022-11-23 16:18:57 -05:00
Pat O'Neill
adaeeca9e9
chore(package): update videojs-contrib-quality-levels to 2.2.1 ( #8019 )
2022-11-23 16:18:34 -05:00
Pat O'Neill
c8fd5bbcde
8.0.0
2022-11-23 12:58:39 -05:00
Pat O'Neill
e1a7ac376a
chore: re-generate package-lock.json to fix merge issues with main ( #8015 )
2022-11-23 12:44:39 -05:00
mister-ben
2d96c9d780
feat: Use userAgentData in favour of userAgent ( #7979 )
2022-11-23 09:49:37 -05:00
Gary Katsevman
db4201a800
chore: make direct deps be exact but indirect have ^ ( #8014 )
2022-11-23 09:49:37 -05:00
Pat O'Neill
bf1faffb94
chore(package): update to @videojs/http-streaming 3.0.0 ( #8012 )
2022-11-23 09:49:36 -05:00
Grzegorz Blaszczyk
0545df5289
feat: generate Typescript definitions ( #7954 )
2022-11-23 09:49:35 -05:00
KangXinzhi
b7080f7d8a
fix(control-bar): make vertical alignment of slider handles more consistent ( #7990 )
...
Fixes #7989
BREAKING CHANGE: This changes how slider handles are styled, so custom skins that are targeting them may need to change.
2022-11-23 09:49:34 -05:00
Grzegorz Blaszczyk
dec7075386
fix(jsdoc): controlText_ should have a protected access modifier. ( #7972 )
2022-11-23 09:49:33 -05:00
Pat O'Neill
b8ee8858f8
refactor: rename fn.bind to fn.bind_ to strongly indicate it should not be used externally ( #7940 )
2022-11-23 09:49:32 -05:00
Grzegorz Blaszczyk
54195f0b28
feat: add support for a list of quality levels ( #7897 )
...
This brings the videojs-contrib-quality-levels plugin into Video.js as a feature.
2022-11-23 09:49:32 -05:00
Pat O'Neill
91f4663ea5
ignore: update @videojs/http-streaming to 3.0 release candidate ( #7884 )
...
Co-authored-by: Sarah Rimron-Soutter <sarah@teaandbiscuits.net>
2022-11-23 09:49:30 -05:00
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