@theoplayer/web-ui 1.5.0 → 1.6.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 ADDED
@@ -0,0 +1,62 @@
1
+ # Changelog
2
+
3
+ > **Tags:**
4
+ >
5
+ > - 💥 Breaking Change
6
+ > - 🚀 New Feature
7
+ > - 🐛 Bug Fix
8
+ > - 👎 Deprecation
9
+ > - 📝 Documentation
10
+ > - 🏠 Internal
11
+ > - 💅 Polish
12
+
13
+ ## v1.6.0 (2024-02-08)
14
+
15
+ - 🚀 Introducing [Open Video UI for React](https://www.npmjs.com/package/@theoplayer/react-ui). ([#48](https://github.com/THEOplayer/web-ui/pull/48))
16
+ - Idiomatic React components make the Open Video UI feel right at home in your existing React web app.
17
+ - 🚀 Added support for advertisements while casting to Chromecast. This requires THEOplayer version 6.8.0 or higher. ([#47](https://github.com/THEOplayer/web-ui/pull/47))
18
+ - 🚀 Added `theoplayerready` event to `<theoplayer-default-ui>` and `<theoplayer-ui>`, which is fired once the backing THEOplayer instance is created. ([#48](https://github.com/THEOplayer/web-ui/pull/48)).
19
+
20
+ ## v1.5.0 (2023-11-27)
21
+
22
+ - 🚀 Added support for smart TVs. ([#40](https://github.com/THEOplayer/web-ui/pull/40))
23
+ - Updated `<theoplayer-default-ui>` to automatically switch to an optimized layout when running on a smart TV.
24
+ For custom UIs using `<theoplayer-ui>`, you can use the `tv-only` and `tv-hidden` attributes to show or hide specific UI elements on smart TVs.
25
+ - Added support for navigating the UI using a TV remote control.
26
+ - Added a `tv-focus` attribute to specify which UI element should receive the initial focus when showing the controls on a TV.
27
+ In the default UI, initial focus is on the seek bar.
28
+ - 🚀 Allow overriding more CSS properties of `<theoplayer-default-ui>`. ([#42](https://github.com/THEOplayer/web-ui/pull/42))
29
+ - 💅 Renamed project to "THEOplayer Open Video UI for Web". ([#43](https://github.com/THEOplayer/web-ui/pull/43))
30
+
31
+ ## v1.4.0 (2023-10-04)
32
+
33
+ - 💥 **Breaking Change**: This project now requires THEOplayer version 6.0.0 or higher.
34
+ - 🚀 Open Video UI now imports THEOplayer as a JavaScript module using `import from 'theoplayer/chromeless'`.
35
+ See the [README](./README.md#installation) for updated installation instructions.
36
+ - 🐛 When the player's source is empty, the UI will no longer attempt to play when clicked. ([#37](https://github.com/THEOplayer/web-ui/pull/37))
37
+
38
+ ## v1.3.0 (2023-05-16)
39
+
40
+ - 💥 **Breaking Change**: This project now requires THEOplayer version 5.1.0 or higher.
41
+ - 🏠 This project now depends on the chromeless version of THEOplayer, rather than the full version which includes the old video.js-based UI. ([#31](https://github.com/THEOplayer/web-ui/pull/31))
42
+ - 🐛 Fix `has-error` attribute not cleared on source change ([#29](https://github.com/THEOplayer/web-ui/pull/29))
43
+
44
+ ## v1.2.0 (2023-04-26)
45
+
46
+ - 🚀 Improved support for advertisements ([#28](https://github.com/THEOplayer/web-ui/pull/28))
47
+ - Reworked the ad control bar in `<theoplayer-default-ui>`.
48
+ - Added a `show-ad-markers` attribute to `<theoplayer-time-range>`, to show markers on the progress bar indicating when the content will be interrupted by an advertisement.
49
+ - `<theoplayer-ad-skip-button>` and `<theoplayer-ad-clickthrough-button>` are automatically hidden while playing a Google IMA ad. (This is unfortunately necessary, because Google IMA doesn't provide a way to modify or replace its own buttons.)
50
+ - 🐛 When the player changes sources, any open menu is now automatically closed
51
+
52
+ ## v1.1.0 (2023-04-12)
53
+
54
+ - 💥 **Breaking Change**: This project now targets modern browsers, so `dist/THEOplayerUI.js` and `dist/THEOplayerUI.mjs` now use ES2017 syntax (such as `class` and `async`/`await`). See "Legacy browser support" in the [README](./README.md) for more information about targeting older browsers. ([#26](https://github.com/THEOplayer/web-ui/issues/26), [#27](https://github.com/THEOplayer/web-ui/pull/27))
55
+ - 🚀 Added support for THEOplayer 5.0
56
+ - 💅 Improved accessibility ([#21](https://github.com/THEOplayer/web-ui/pull/21))
57
+ - 💅 Make menus fill entire player when player is small ([#22](https://github.com/THEOplayer/web-ui/pull/22))
58
+ - 🐛 Ensure `player` property is initialized immediately when calling `new UIContainer(configuration)` with a valid player configuration ([#24](https://github.com/THEOplayer/web-ui/pull/24))
59
+
60
+ ## v1.0.0 (2023-04-05)
61
+
62
+ - 🚀 Initial release
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 THEO Technologies
3
+ Copyright (c) 2024 THEO Technologies
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -7,7 +7,7 @@ the [THEOplayer Web SDK](https://www.theoplayer.com/product/theoplayer).
7
7
  - Built using [Web Components](https://developer.mozilla.org/en-US/docs/Web/Web_Components), so works great with (or without) any app framework.
8
8
  - Easy to customize: use HTML to lay out your controls, and CSS to style them.
9
9
 
10
- > **Note**
10
+ > [!NOTE]
11
11
  > This project is under active development. While we believe it's ready for use in production, not all features are available in this first release. If you find a problem or have an idea for a new feature, don't hesitate to [open an issue](https://github.com/THEOplayer/web-ui/issues)!
12
12
 
13
13
  | ![Screenshot on desktop](https://raw.githubusercontent.com/THEOplayer/web-ui/v1.0.0/docs/assets/screenshot-desktop.png) | ![Screenshot on mobile](https://raw.githubusercontent.com/THEOplayer/web-ui/v1.0.0/docs/assets/screenshot-mobile.png) |
@@ -22,7 +22,7 @@ The current THEOplayer Web SDK comes with a built-in UI based on [video.js](http
22
22
  - 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.
23
23
  - Developed in the open. Although the old UI is based on the open-source video.js library, any custom components bundled with THEOplayer remained closed-source. With the new UI, the source code of all components is publicly available. Advanced users can learn about the inner workings of each component, modify them, and even contribute their changes back to Open Video UI.
24
24
 
25
- > **Note**
25
+ > [!NOTE]
26
26
  > THEOplayer Open Video UI for Web currently exists separately from the old THEOplayer UI. In the future, we hope to deprecate and remove the old UI, and ship this new UI as default UI for the THEOplayer Web SDK.
27
27
 
28
28
  ## Installation