Skip to content

Commit

Permalink
Bump shaka-player from 4.10.12 to 4.11.1 (#5677)
Browse files Browse the repository at this point in the history
* Bump shaka-player from 4.10.12 to 4.11.1

Bumps [shaka-player](https://github.com/shaka-project/shaka-player) from 4.10.12 to 4.11.1.
- [Release notes](https://github.com/shaka-project/shaka-player/releases)
- [Changelog](https://github.com/shaka-project/shaka-player/blob/v4.11.1/CHANGELOG.md)
- [Commits](shaka-project/shaka-player@v4.10.12...v4.11.1)

---
updated-dependencies:
- dependency-name: shaka-player
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Remove position state and action handler media session code as shaka-player now handles that by itself

* Remove legacy subtitles code as shaka-player now handles that itself

* Fix buggy live streams

* Fix auto-generated subtitle positioning with the legacy formats again

* Hide seek bar for live streams

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: absidue <[email protected]>
  • Loading branch information
dependabot[bot] and absidue committed Sep 15, 2024
1 parent 23ce313 commit bedae6c
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 560 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"path-browserify": "^1.0.1",
"portal-vue": "^2.1.7",
"process": "^0.11.10",
"shaka-player": "^4.10.12",
"shaka-player": "^4.11.1",
"swiper": "^11.1.12",
"vue": "^2.7.16",
"vue-i18n": "^8.28.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,6 @@
flex-direction: column-reverse;
}

/*
With the legacy formats, shaka hands over the captions to the browser,
that causes issues like the captions being displayed under the player controls.
The browser positions captions based on the video element as it doesn't know about shaka's custom controls.
To solve that we use shaka's caption displayer (UITextDisplayer), so we need to hide the browser's ones
*/
.player::-webkit-media-text-track-container {
display: none;
}

.sixteenByNine {
aspect-ratio: 16 / 9;
}
Expand Down
Loading

0 comments on commit bedae6c

Please sign in to comment.