remove playAnimatedArtwork
This commit is contained in:
parent
cc8cd78ef9
commit
2d74895622
1 changed files with 0 additions and 24 deletions
|
@ -294,30 +294,6 @@ const app = new Vue({
|
||||||
}
|
}
|
||||||
return hash;
|
return hash;
|
||||||
},
|
},
|
||||||
playAnimatedArtwork(url) {
|
|
||||||
if (Hls.isSupported()) {
|
|
||||||
var video = document.querySelector(`[vid="${app.hashCode(url)}"] > video`)
|
|
||||||
console.log('supported');
|
|
||||||
var hls = new Hls();
|
|
||||||
// bind them together
|
|
||||||
if (video) {
|
|
||||||
hls.attachMedia(video);
|
|
||||||
hls.on(Hls.Events.MEDIA_ATTACHED, function () {
|
|
||||||
console.log('video and hls.js are now bound together !');
|
|
||||||
hls.loadSource(url);
|
|
||||||
hls.on(Hls.Events.MANIFEST_PARSED, function (event, data) {
|
|
||||||
video.play();
|
|
||||||
return "";
|
|
||||||
});
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
console.log("hso");
|
|
||||||
return "";
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
return "";
|
|
||||||
}
|
|
||||||
},
|
|
||||||
routeView(item) {
|
routeView(item) {
|
||||||
let self = this
|
let self = this
|
||||||
app.showingPlaylist = [];
|
app.showingPlaylist = [];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue