mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 08:42:21 -08:00
demo fix
This commit is contained in:
1 parent
addee9646a
commit
8653940a76
6 files changed
+4
-6
No files matched your search
@@ -4,7 +4,6 @@
|
||||
var $code = document.querySelector('.code');
|
||||
var $run = document.querySelector('.run');
|
||||
var $lib = document.querySelector('.lib');
|
||||
var defaultLib = './js/artplayer-plugin-subtitle.js';
|
||||
var loaddLib = [];
|
||||
|
||||
consola.creat({
|
||||
@@ -82,7 +81,7 @@
|
||||
|
||||
function loadLib(libs) {
|
||||
var libPromise = [];
|
||||
var libsDecode = decodeURIComponent(libs || defaultLib);
|
||||
var libsDecode = decodeURIComponent(libs || '');
|
||||
libsDecode
|
||||
.split(/\r?\n/)
|
||||
.filter(function(url) {
|
||||
|
||||
Reference in new issue
Block a user