@theoplayer/web-ui 1.9.4 → 1.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/README.md +1 -1
- package/dist/THEOplayerUI.d.ts +3 -3
- package/dist/THEOplayerUI.es5.js +2 -2
- package/dist/THEOplayerUI.es5.mjs +2 -2
- package/dist/THEOplayerUI.js +15 -15
- package/dist/THEOplayerUI.js.map +1 -1
- package/dist/THEOplayerUI.mjs +15 -15
- package/dist/THEOplayerUI.mjs.map +1 -1
- package/dist/THEOplayerUI.node.mjs +3 -3
- package/dist/THEOplayerUI.node.mjs.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -15,6 +15,10 @@ sidebar_custom_props: { 'icon': '📰' }
|
|
|
15
15
|
> - 🏠 Internal
|
|
16
16
|
> - 💅 Polish
|
|
17
17
|
|
|
18
|
+
## v1.9.5 (2025-03-20)
|
|
19
|
+
|
|
20
|
+
- 💅 Forced subtitles are no longer shown in the subtitle menu. ([#92](https://github.com/THEOplayer/web-ui/pull/92))
|
|
21
|
+
|
|
18
22
|
## v1.9.4 (2025-02-19)
|
|
19
23
|
|
|
20
24
|
- No changes
|
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ the [THEOplayer Web SDK](https://www.theoplayer.com/product/theoplayer).
|
|
|
18
18
|
|
|
19
19
|
## Motivation
|
|
20
20
|
|
|
21
|
-
The current THEOplayer Web SDK comes with a built-in UI based on [video.js](https://github.com/videojs/video.js) through [the `Player` constructor](https://www.theoplayer.com/docs/theoplayer/
|
|
21
|
+
The current THEOplayer Web SDK comes with a built-in UI based on [video.js](https://github.com/videojs/video.js) through [the `Player` constructor](https://www.theoplayer.com/docs/theoplayer/v8/api-reference/web/classes/Player.html). This new UI aims to solve some limitations from the old approach:
|
|
22
22
|
|
|
23
23
|
- Designed with customization in mind. With the old UI, customizing anything beyond changing some text and icon colors was difficult, and could break in unpredictable ways when updating to a new THEOplayer version. With the new UI, all components can be customized in a variety of ways with well-documented attributes and CSS custom properties.
|
|
24
24
|
- Built for the modern web. The old UI was built at a time when Internet Explorer was still a major browser, so it couldn't use newer web technologies. The new UI breaks with the past and takes full advantage of Web Components, so it works well in modern web apps.
|
package/dist/THEOplayerUI.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* THEOplayer Open Video UI for Web (v1.9.
|
|
2
|
+
* THEOplayer Open Video UI for Web (v1.9.5)
|
|
3
3
|
* License: MIT
|
|
4
4
|
*/
|
|
5
5
|
import { ChromelessPlayer, VideoQuality, THEOplayerError, MediaTrack, TextTrack, TextTracksList, EdgeStyle, VendorCast, CastState, PlayerConfiguration, SourceDescription } from 'theoplayer/chromeless';
|
|
@@ -1882,7 +1882,7 @@ declare class UIContainer extends HTMLElement {
|
|
|
1882
1882
|
* @param configuration - The player configuration.
|
|
1883
1883
|
* Will be passed to the {@link theoplayer!ChromelessPlayer | ChromelessPlayer} constructor to create
|
|
1884
1884
|
* the underlying THEOplayer instance.
|
|
1885
|
-
* Can also be set later on through the {@link configuration} property.
|
|
1885
|
+
* Can also be set later on through the {@link UIContainer.configuration} property.
|
|
1886
1886
|
*/
|
|
1887
1887
|
constructor(configuration?: PlayerConfiguration);
|
|
1888
1888
|
private _upgradeProperty;
|
|
@@ -2086,7 +2086,7 @@ declare class DefaultUI extends HTMLElement {
|
|
|
2086
2086
|
* @param configuration - The player configuration.
|
|
2087
2087
|
* Will be passed to the {@link theoplayer!ChromelessPlayer | ChromelessPlayer} constructor to create
|
|
2088
2088
|
* the underlying THEOplayer instance.
|
|
2089
|
-
* Can also be set later on through the {@link configuration} property.
|
|
2089
|
+
* Can also be set later on through the {@link DefaultUI.configuration} property.
|
|
2090
2090
|
*/
|
|
2091
2091
|
constructor(configuration?: PlayerConfiguration);
|
|
2092
2092
|
protected initShadowRoot(): ShadowRoot;
|