update
This commit is contained in:
parent
1f0ea52aec
commit
c1bae11816
2
TODO.md
2
TODO.md
|
@ -12,7 +12,5 @@
|
|||
- [x] Scale
|
||||
- [x] Subtitles ([`textTracks`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/textTracks))
|
||||
- [x] Playback Rate ([`playbackRate`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/playbackRate))
|
||||
- [ ] Multi-Video Tracks ([`videoTracks`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/videoTracks))
|
||||
- [ ] Multi-Audio Tracks ([`audioTracks`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/audioTracks))
|
||||
- [ ] Cast Support
|
||||
- [ ] 360 Video Support
|
1
index.ts
1
index.ts
|
@ -5,5 +5,4 @@ import Zorn from "./src/Player.astro"
|
|||
import Presentation from './src/Presentation/Player.astro'
|
||||
|
||||
// Export
|
||||
|
||||
export {Zorn, Presentation}
|
|
@ -29,7 +29,7 @@
|
|||
"playback"
|
||||
],
|
||||
"scripts": {
|
||||
"publish": "bun publish --registry https://registry.sudovanilla.org/",
|
||||
"publish": "bun publish --registry https://js.registry.sudovanilla.org/",
|
||||
"test": "cd test/ && bun start"
|
||||
}
|
||||
}
|
|
@ -12,7 +12,7 @@ const {
|
|||
* @licstart The following is the entire license notice for the
|
||||
* JavaScript code in this page.
|
||||
*
|
||||
* Copyright (C) 2024 - 2025 SudoVanilla
|
||||
* Copyright (C) 2024 - 2025 MinPluto
|
||||
*
|
||||
*
|
||||
* The JavaScript code in this page is free software: you can
|
||||
|
@ -123,7 +123,7 @@ function PlayPause() {
|
|||
const Button_PlayPause = document.querySelector("#zorn-player-" + PlayerName + " .video-controls #vc-playpause");
|
||||
var Button_BigPresentButton = document.querySelector("#zorn-player-" + PlayerName + " .big-present-button")
|
||||
|
||||
// Event Listern
|
||||
// Event Listener
|
||||
Button_PlayPause.addEventListener("click", Toggle_PlayPause);
|
||||
Player.addEventListener("click", Toggle_PlayPause);
|
||||
Player.addEventListener("play", Update_PlayPauseButton);
|
||||
|
|
Loading…
Reference in a new issue