@theoplayer/web-ui 2.0.0 → 2.1.1
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 +12 -0
- package/README.md +1 -1
- package/dist/THEOplayerUI.d.ts +12 -7
- package/dist/THEOplayerUI.es5.js +1 -1
- package/dist/THEOplayerUI.es5.mjs +1 -1
- package/dist/THEOplayerUI.js +2 -2
- package/dist/THEOplayerUI.js.map +1 -1
- package/dist/THEOplayerUI.mjs +1 -1
- package/dist/THEOplayerUI.mjs.map +1 -1
- package/dist/THEOplayerUI.node.mjs +1 -1
- package/dist/THEOplayerUI.node.mjs.map +1 -1
- package/dist/THEOplayerUI.polyfills.js +1 -1
- package/package.json +23 -23
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @theoplayer/web-ui
|
|
2
2
|
|
|
3
|
+
## 2.1.1
|
|
4
|
+
|
|
5
|
+
### 🐛 Issues
|
|
6
|
+
|
|
7
|
+
- Fixed `<theoplayer-time-range>` repeatedly triggering seeks when updating its value from the player's current time, which caused noticeable stutters on Safari.
|
|
8
|
+
|
|
9
|
+
## 2.1.0
|
|
10
|
+
|
|
11
|
+
### ✨ Features
|
|
12
|
+
|
|
13
|
+
- Added support for THEOplayer 11.x.
|
|
14
|
+
|
|
3
15
|
## 2.0.0
|
|
4
16
|
|
|
5
17
|
### 💥 Breaking 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/v11/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 (v2.
|
|
2
|
+
* THEOplayer Open Video UI for Web (v2.1.1)
|
|
3
3
|
* License: MIT
|
|
4
4
|
*/
|
|
5
5
|
import * as lit from 'lit';
|
|
@@ -595,11 +595,6 @@ declare global {
|
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
597
|
|
|
598
|
-
declare module 'theoplayer/chromeless' {
|
|
599
|
-
interface TextTrack {
|
|
600
|
-
captionChannel?: number;
|
|
601
|
-
}
|
|
602
|
-
}
|
|
603
598
|
/**
|
|
604
599
|
* `<theoplayer-text-track-radio-button>` -A radio button that shows the label of a given text track, and switches to that track when clicked.
|
|
605
600
|
*/
|
|
@@ -1046,6 +1041,15 @@ declare abstract class Range extends LitElement {
|
|
|
1046
1041
|
*/
|
|
1047
1042
|
get value(): number;
|
|
1048
1043
|
set value(value: number);
|
|
1044
|
+
/**
|
|
1045
|
+
* The current value.
|
|
1046
|
+
*
|
|
1047
|
+
* Setting this property does *not* trigger {@link handleInput}.
|
|
1048
|
+
* This should be used when synchronizing the range with external state,
|
|
1049
|
+
* e.g. when updating the value of a time range with the player's current time.
|
|
1050
|
+
*/
|
|
1051
|
+
protected get rawValue(): number;
|
|
1052
|
+
protected set rawValue(value: number);
|
|
1049
1053
|
/**
|
|
1050
1054
|
* The minimum allowed value.
|
|
1051
1055
|
*/
|
|
@@ -2159,5 +2163,6 @@ declare enum Attribute {
|
|
|
2159
2163
|
*/
|
|
2160
2164
|
declare const version: string;
|
|
2161
2165
|
|
|
2162
|
-
export { ActiveQualityDisplay, AdClickThroughButton, AdCountdown, AdDisplay, AdSkipButton, AirPlayButton, Attribute, Button,
|
|
2166
|
+
export { ActiveQualityDisplay, AdClickThroughButton, AdCountdown, AdDisplay, AdSkipButton, AirPlayButton, Attribute, Button, CastButton, ChromecastButton, ChromecastDisplay, CloseMenuButton, ColorStops, ControlBar, DefaultUI, DurationDisplay, ErrorDisplay, ExtensionSlot, FullscreenButton, GestureReceiver, LanguageMenu, LanguageMenuButton, LinkButton, LiveButton, LoadingIndicator, MediaTrackRadioButton, Menu, MenuButton, MenuGroup, MuteButton, PlayButton, PlaybackRateDisplay, PlaybackRateMenu, PlaybackRateMenuButton, PlaybackRateRadioGroup, PreviewThumbnail, PreviewTimeDisplay, QualityRadioButton, QualityRadioGroup, RadioButton, RadioGroup, Range, SeekButton, SettingsMenu, SettingsMenuButton, SlotContainer, StateReceiverMixin, THEOliveDefaultUI, TextTrackOffRadioButton, TextTrackRadioButton, TextTrackStyleDisplay, TextTrackStyleMenu, TextTrackStyleRadioGroup, TextTrackStyleResetButton, TimeDisplay, TimeRange, TrackRadioGroup, UIContainer, VolumeRange, buttonTemplate, linkButtonTemplate, menuGroupTemplate, menuTemplate, registerExtension, stateReceiver, version };
|
|
2167
|
+
export type { ButtonOptions, Constructor, DeviceType, Extension, MenuGroupOptions, MenuOptions, StateReceiverElement, StateReceiverPropertyMap, StreamType, TextTrackStyleMap, TextTrackStyleOption, TrackType, VolumeLevel };
|
|
2163
2168
|
export as namespace THEOplayerUI;
|