Skip to content

Commit

Permalink
Merge pull request #80 from THEOplayer/release/1.9.2
Browse files Browse the repository at this point in the history
Release 1.9.2
  • Loading branch information
MattiasBuelens authored Nov 20, 2024
2 parents c749a21 + 6d9478c commit 43fdfb6
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 12 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,17 @@ sidebar_custom_props: { 'icon': '📰' }
> - 🏠 Internal
> - 💅 Polish
## v1.9.2 (2024-11-20)

- 🐛 Fixed live UI not showing for Millicast streams. ([#79](https://github.com/THEOplayer/web-ui/pull/79))

## v1.9.1 (2024-09-27)

- 🐛 Fixed <kbd>Enter</kbd> and <kbd>Space</kbd> keys not working to activate buttons in the UI.
- 🐛 Fixed <kbd>Enter</kbd> and <kbd>Space</kbd> keys not working to activate buttons in the UI. ([#76](https://github.com/THEOplayer/web-ui/pull/76))

## v1.9.0 (2024-09-06)

- 🚀 Added support for THEOplayer 8.0.
- 🚀 Added support for THEOplayer 8.0. ([#72](https://github.com/THEOplayer/web-ui/pull/72))

## v1.8.2 (2024-08-29)

Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@theoplayer/web-ui",
"version": "1.9.1",
"version": "1.9.2",
"description": "UI component library for the THEOplayer Web SDK",
"main": "dist/THEOplayerUI.js",
"module": "dist/THEOplayerUI.mjs",
Expand Down
6 changes: 5 additions & 1 deletion react/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,17 @@ sidebar_custom_props: { 'icon': '📰' }
> - 🏠 Internal
> - 💅 Polish
## v1.9.2 (2024-11-20)

- 🏠 See changes to [Open Video UI for Web v1.9.2](https://github.com/THEOplayer/web-ui/blob/v1.9.2/CHANGELOG.md)

## v1.9.1 (2024-09-27)

- 🏠 See changes to [Open Video UI for Web v1.9.1](https://github.com/THEOplayer/web-ui/blob/v1.9.1/CHANGELOG.md)

## v1.9.0 (2024-09-06)

- 🚀 Added support for THEOplayer 8.0.
- 🚀 Added support for THEOplayer 8.0. ([#72](https://github.com/THEOplayer/web-ui/pull/72))
- 🏠 See changes to [Open Video UI for Web v1.9.0](https://github.com/THEOplayer/web-ui/blob/v1.9.0/CHANGELOG.md)

## v1.8.2 (2024-08-29)
Expand Down
4 changes: 2 additions & 2 deletions react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@theoplayer/react-ui",
"version": "1.9.1",
"version": "1.9.2",
"description": "React component library for the THEOplayer Web SDK",
"main": "dist/THEOplayerReactUI.js",
"module": "dist/THEOplayerReactUI.mjs",
Expand Down Expand Up @@ -52,7 +52,7 @@
},
"dependencies": {
"@lit/react": "^1.0.3",
"@theoplayer/web-ui": "^1.9.1"
"@theoplayer/web-ui": "^1.9.2"
},
"peerDependencies": {
"@types/react": "^16.3.0 || ^17 || ^18",
Expand Down
2 changes: 2 additions & 0 deletions src/components/LiveButton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ function isLive(player: ChromelessPlayer, threshold: number): boolean {
const seekable = player.seekable;
if (seekable.length > 0) {
return seekable.end(seekable.length - 1) - player.currentTime <= threshold;
} else {
return true;
}
}
return false;
Expand Down

0 comments on commit 43fdfb6

Please sign in to comment.