mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-16 00:49:40 +08:00
支持获取aplayer
This commit is contained in:
parent
bdcb309fed
commit
0963144853
@ -144,7 +144,12 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||||||
this.aplayer = new APlayer(this.options)
|
this.aplayer = new APlayer(this.options)
|
||||||
resolve()
|
resolve()
|
||||||
})
|
})
|
||||||
.catch((e) => {})
|
.catch((e) => {
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
getAPlayer() {
|
||||||
|
return this.aplayer
|
||||||
}
|
}
|
||||||
|
|
||||||
disconnectedCallback() {
|
disconnectedCallback() {
|
||||||
@ -447,6 +452,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||||||
this.render()
|
this.render()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
this.options = {
|
this.options = {
|
||||||
captions: this.hasAttribute('captions') && this.getAttribute('captions') !== 'false',
|
captions: this.hasAttribute('captions') && this.getAttribute('captions') !== 'false',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user