@theoplayer/web-ui 2.0.0-beta.0 → 2.0.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # @theoplayer/web-ui
2
2
 
3
- ## 2.0.0-beta.0
3
+ ## 2.0.0
4
4
 
5
5
  ### 💥 Breaking Changes
6
6
 
@@ -8,6 +8,28 @@
8
8
  - All components now extend [`LitElement`](https://lit.dev/docs/api/LitElement/) and use [reactive rendering](https://lit.dev/docs/components/rendering/), making it much easier to build custom UI components. While existing custom UI components should mostly continue to work, we highly recommend updating them to use a `render()` method instead.
9
9
  - For older browsers that don't support Custom Elements, we recommend loading our new polyfills library from `@theoplayer/web-ui/polyfills`.
10
10
 
11
+ ### ✨ Features
12
+
13
+ - Added settings menu to default UI.
14
+
15
+ ## 1.16.3
16
+
17
+ ### 🐛 Issues
18
+
19
+ - Improve labels for text tracks and audio tracks in the `<theoplayer-language-menu>`.
20
+
21
+ ## 1.16.2
22
+
23
+ ### 🐛 Issues
24
+
25
+ - Language names in the language menu are now capitalized according to that language's case mappings.
26
+
27
+ ## 1.16.1
28
+
29
+ ### 🐛 Issues
30
+
31
+ - Fixed a regression where menus would always fill the entire player on desktop (rather than opening as a small popup in the bottom right corner).
32
+
11
33
  ## 1.16.0
12
34
 
13
35
  ### ✨ Features
package/README.md CHANGED
@@ -137,7 +137,7 @@ By default, Open Video UI for Web targets modern browsers that support modern Ja
137
137
  On older browsers (such as Internet Explorer 11 and older smart TVs), you need to load a different version of the Open Video UI that uses older JavaScript syntax. You also need to load additional polyfills for missing features such as `Promise`, `Symbol.iterator` or Custom Elements:
138
138
 
139
139
  - For ES2015 features like `Promise` and `Symbol.iterator`, we recommend [the Cloudflare mirror of Polyfill.io](https://cdnjs.cloudflare.com/polyfill/).
140
- - For Custom Elements, we recommend loading our polyfill bundle from `@theoplayer/web-ui/polyfills`. Alternatively, you can load the [Web Components Polyfills](https://github.com/webcomponents/polyfills).
140
+ - For Custom Elements, we recommend loading our polyfill bundle from `@theoplayer/web-ui/polyfills`. Alternatively, you can load the [Web Components Polyfills](https://github.com/webcomponents/polyfills) along with [Lit's `polyfill-support` module](https://lit.dev/docs/v2/tools/requirements/#polyfills).
141
141
 
142
142
  * Option 1: in your HTML. This uses [differential serving](https://css-tricks.com/differential-serving/) so modern browsers will load the modern build (with `type="module"`), while legacy browsers will load the legacy build (with `nomodule`).
143
143
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * THEOplayer Open Video UI for Web (v2.0.0-beta.0)
2
+ * THEOplayer Open Video UI for Web (v2.0.0)
3
3
  * License: MIT
4
4
  */
5
5
  import * as lit from 'lit';
@@ -595,6 +595,11 @@ declare global {
595
595
  }
596
596
  }
597
597
 
598
+ declare module 'theoplayer/chromeless' {
599
+ interface TextTrack {
600
+ captionChannel?: number;
601
+ }
602
+ }
598
603
  /**
599
604
  * `<theoplayer-text-track-radio-button>` -A radio button that shows the label of a given text track, and switches to that track when clicked.
600
605
  */
@@ -1220,6 +1225,7 @@ declare global {
1220
1225
  declare class VolumeRange extends Range {
1221
1226
  private _player;
1222
1227
  constructor();
1228
+ connectedCallback(): void;
1223
1229
  get player(): ChromelessPlayer | undefined;
1224
1230
  set player(player: ChromelessPlayer | undefined);
1225
1231
  private readonly _updateFromPlayer;