mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 18:41:20 -08:00
Update version.js
This commit is contained in:
1 parent
0b9c31a8cf
commit
42c4ca735d
1 file changed
+1
-3
@@ -1,10 +1,8 @@
|
|||||||
import { version } from '../../package.json'
|
import { version } from '../../package.json'
|
||||||
import { isBrowser } from '../utils/compatibility'
|
|
||||||
|
|
||||||
export default function (option) {
|
export default function (option) {
|
||||||
const url = isBrowser ? location.href : ''
|
|
||||||
return {
|
return {
|
||||||
...option,
|
...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>`,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user