mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 02:01:20 -08:00
Update 7.html
This commit is contained in:
1 parent
8a27565164
commit
0553eb8aa3
1 file changed
+2
-1
+2
-1
@@ -38,9 +38,10 @@
|
|||||||
<script src="../uncompiled/artplayer.js"></script>
|
<script src="../uncompiled/artplayer.js"></script>
|
||||||
<script>
|
<script>
|
||||||
var vConsole = new VConsole();
|
var vConsole = new VConsole();
|
||||||
|
var whitelist = [new URL(window.location.href).searchParams.get('whitelist') || ''] || [];
|
||||||
var art = new Artplayer({
|
var art = new Artplayer({
|
||||||
container: '.artplayer-app',
|
container: '.artplayer-app',
|
||||||
// whitelist: ['iPhone OS'],
|
whitelist: whitelist,
|
||||||
url: 'https://video-dev.github.io/streams/x36xhzz/x36xhzz.m3u8',
|
url: 'https://video-dev.github.io/streams/x36xhzz/x36xhzz.m3u8',
|
||||||
customType: {
|
customType: {
|
||||||
m3u8: function(video, url) {
|
m3u8: function(video, url) {
|
||||||
|
|||||||
Reference in new issue
Block a user