Update version.js

This commit is contained in:
Harvey Zhao committed 2026-08-31 16:59:25 +08:00
1 parent 0b9c31a8cf
commit 42c4ca735d
1 file changed
+1 -3
@@ -1,10 +1,8 @@
import { version } from '../../package.json'
import { isBrowser } from '../utils/compatibility'
export default function (option) {
const url = isBrowser ? location.href : ''
return {
...option,
html: `<a href="https://artplayer.org?ref=${encodeURIComponent(url)}" target="_blank" style="width:100%;">ArtPlayer ${version}</a>`,
html: `<a href="https://artplayer.org" target="_blank" style="width:100%;">ArtPlayer ${version}</a>`,
}
}