mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 00:31:20 -08:00
update demo
This commit is contained in:
1 parent
fbf1039681
commit
cb51568f7f
3 files changed
+9
-7
No files matched your search
@@ -165,11 +165,11 @@
|
||||
}
|
||||
|
||||
function runCode() {
|
||||
Artplayer.instances.forEach(function (art) {
|
||||
[...Artplayer.instances].forEach(function (art) {
|
||||
art.destroy(true);
|
||||
});
|
||||
var code = editor.getValue();
|
||||
eval(code);
|
||||
eval(editor.getValue());
|
||||
window.art = Artplayer.instances[0];
|
||||
}
|
||||
|
||||
function initApp() {
|
||||
|
||||
Reference in new issue
Block a user