Port "Workaround for bug in shaka's programmatic setup."

See https://github.com/TeamPiped/Piped/commit/c87af466c85180768e8f9a465dfa12f2865e5e6c
This commit is contained in:
root
2022-01-23 10:49:30 +05:30
parent 0b3b4321df
commit f1230de4b8
+1
View File
@@ -203,6 +203,7 @@ export default {
},
setPlayerAttrs (localPlayer, videoEl, uri, mime, shaka) {
if (!this.$ui) {
this.destroy()
this.$ui = new shaka.ui.Overlay(localPlayer, this.$refs.container, videoEl)
const config = {