Workaround for bug in shaka's programmatic setup.

This commit is contained in:
FireMasterK 2022-01-22 23:10:05 +00:00
parent bcf15940b6
commit c87af466c8
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD

View file

@ -375,6 +375,7 @@ export default {
const url = "/watch?v=" + this.video.id; const url = "/watch?v=" + this.video.id;
if (!this.$ui) { if (!this.$ui) {
this.destroy();
const OpenButton = class extends shaka.ui.Element { const OpenButton = class extends shaka.ui.Element {
constructor(parent, controls) { constructor(parent, controls) {
super(parent, controls); super(parent, controls);