This repository has been archived on 2024-09-29. You can view files and clone it, but cannot push or open issues or pull requests.
zorn-js/src/index.js

26 lines
720 B
JavaScript
Raw Normal View History

2024-02-26 05:21:51 -05:00
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()