mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 10:23:21 -08:00
fix(PKG-VAST-07): restore historical default factory calls
This commit is contained in:
1 parent
eb6402fdca
commit
fe5534ac24
20 files changed
+3706
-52
No files matched your search
@@ -3,7 +3,7 @@ import type { Callback, Result } from './types'
|
||||
import { loadImaSdk } from './sdk'
|
||||
import { createSession } from './session'
|
||||
|
||||
export default function artplayerPluginVast(callback?: Callback) {
|
||||
function artplayerPluginVast(callback?: Callback) {
|
||||
return async (art: Artplayer): Promise<Result> => {
|
||||
let disposed = false
|
||||
let session: ReturnType<typeof createSession> | undefined
|
||||
@@ -46,3 +46,7 @@ export default function artplayerPluginVast(callback?: Callback) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
artplayerPluginVast.default = artplayerPluginVast
|
||||
|
||||
export default artplayerPluginVast
|
||||
Reference in new issue
Block a user