mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-20 04:01:20 -08:00
refactor(core): [CORE-20] type entry and converge initialization
This commit is contained in:
1 parent
ccf77c4ed2
commit
ee895a558f
100 files changed
+33854
-839
No files matched your search
@@ -1,4 +1,12 @@
|
||||
export default {
|
||||
export interface MediaConfig {
|
||||
properties: string[]
|
||||
methods: string[]
|
||||
events: string[]
|
||||
prototypes: string[]
|
||||
}
|
||||
|
||||
// Public arrays intentionally remain mutable and retain their historical order.
|
||||
const config: MediaConfig = {
|
||||
properties: [
|
||||
'audioTracks',
|
||||
'autoplay',
|
||||
@@ -79,3 +87,5 @@ export default {
|
||||
'webkitExitFullscreen',
|
||||
],
|
||||
}
|
||||
|
||||
export default config
|
||||
Reference in new issue
Block a user