26 lines
720 B
JavaScript
26 lines
720 B
JavaScript
|
import { ZornVideoPlayer } from "./get"
|
||
|
import { Controls } from "./themes/default"
|
||
|
|
||
|
// Import Functions
|
||
|
import { Events } from './events'
|
||
|
import { PlayPause } from "./functions/PlayPause"
|
||
|
import { SkipAround } from "./functions/SkipAround"
|
||
|
import { Fullscreen } from "./functions/Fullscreen"
|
||
|
import { Subtitles } from "./functions/Subtitles"
|
||
|
import { Volume } from "./functions/Volume"
|
||
|
import { Seek } from "./functions/Seek"
|
||
|
import { BufferDialog } from "./dialogs/Buffering"
|
||
|
|
||
|
// Apply Controls
|
||
|
ZornVideoPlayer.insertAdjacentHTML("afterend", Controls)
|
||
|
ZornVideoPlayer.insertAdjacentHTML("afterend", BufferDialog)
|
||
|
|
||
|
// Init Functions
|
||
|
Events()
|
||
|
PlayPause()
|
||
|
SkipAround()
|
||
|
Fullscreen()
|
||
|
Subtitles()
|
||
|
Volume()
|
||
|
Seek()
|
||
|
Buffering()
|