From the makers of "Find and Replace" we present: CiderHls!
This commit is contained in:
parent
d9aefb94f9
commit
ee9350aceb
3 changed files with 27814 additions and 2 deletions
27811
resources/cider-ui-tests/hlscider.js
Normal file
27811
resources/cider-ui-tests/hlscider.js
Normal file
File diff suppressed because it is too large
Load diff
|
@ -27,7 +27,7 @@
|
||||||
this.hls.detachMedia();
|
this.hls.detachMedia();
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
this.hls = new Hls(config);
|
this.hls = new CiderHls(config);
|
||||||
}
|
}
|
||||||
// bind them together
|
// bind them together
|
||||||
if (this.$refs.video) {
|
if (this.$refs.video) {
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
appData: {serviceName: "Apple Music"}
|
appData: {serviceName: "Apple Music"}
|
||||||
}
|
}
|
||||||
this.hls.attachMedia(this.$refs.video);
|
this.hls.attachMedia(this.$refs.video);
|
||||||
this.hls.loadSource(this.video, p);
|
this.hls.loadSource(this.video);
|
||||||
this.hls.loadLevel = 4;
|
this.hls.loadLevel = 4;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
<script src="vuedraggable.umd.min.js"></script>
|
<script src="vuedraggable.umd.min.js"></script>
|
||||||
<link rel="manifest" href="./manifest.json?v=2">
|
<link rel="manifest" href="./manifest.json?v=2">
|
||||||
<script src="https://js-cdn.music.apple.com/hls.js/2.141.0/hls.js/hls.js"></script>
|
<script src="https://js-cdn.music.apple.com/hls.js/2.141.0/hls.js/hls.js"></script>
|
||||||
|
<script src="hlscider.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body oncontextmenu="return false;" loading="1" platform="<%= env.platform %>">
|
<body oncontextmenu="return false;" loading="1" platform="<%= env.platform %>">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue