mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-12 06:26:16 -08:00
update docs
This commit is contained in:
1 parent
4dcdda0089
commit
8a1546f9dd
94 files changed
+255
-263
No files matched your search
@@ -5,7 +5,7 @@ document.addEventListener('click', (event) => {
|
||||
if (codeElement) {
|
||||
const libs = event.target.dataset.libs || '';
|
||||
const code = encodeURIComponent(codeElement.innerText);
|
||||
const env = window.location.host.includes('localhost') ? 'http://localhost:8080' : 'https://artplayer.org';
|
||||
const env = window.location.host.includes('localhost') ? 'http://localhost:8081' : 'https://artplayer.org';
|
||||
const url = env + '/?libs=' + libs + '&code=' + code;
|
||||
window.open(url);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user