This commit is contained in:
Korbs 2025-01-03 19:00:39 -05:00
parent 1f0ea52aec
commit c1bae11816
No known key found for this signature in database
4 changed files with 3 additions and 6 deletions

View file

@ -12,7 +12,5 @@
- [x] Scale - [x] Scale
- [x] Subtitles ([`textTracks`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/textTracks)) - [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)) - [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 - [ ] Cast Support
- [ ] 360 Video Support - [ ] 360 Video Support

View file

@ -5,5 +5,4 @@ import Zorn from "./src/Player.astro"
import Presentation from './src/Presentation/Player.astro' import Presentation from './src/Presentation/Player.astro'
// Export // Export
export {Zorn, Presentation} export {Zorn, Presentation}

View file

@ -29,7 +29,7 @@
"playback" "playback"
], ],
"scripts": { "scripts": {
"publish": "bun publish --registry https://registry.sudovanilla.org/", "publish": "bun publish --registry https://js.registry.sudovanilla.org/",
"test": "cd test/ && bun start" "test": "cd test/ && bun start"
} }
} }

View file

@ -12,7 +12,7 @@ const {
* @licstart The following is the entire license notice for the * @licstart The following is the entire license notice for the
* JavaScript code in this page. * 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 * 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"); const Button_PlayPause = document.querySelector("#zorn-player-" + PlayerName + " .video-controls #vc-playpause");
var Button_BigPresentButton = document.querySelector("#zorn-player-" + PlayerName + " .big-present-button") var Button_BigPresentButton = document.querySelector("#zorn-player-" + PlayerName + " .big-present-button")
// Event Listern // Event Listener
Button_PlayPause.addEventListener("click", Toggle_PlayPause); Button_PlayPause.addEventListener("click", Toggle_PlayPause);
Player.addEventListener("click", Toggle_PlayPause); Player.addEventListener("click", Toggle_PlayPause);
Player.addEventListener("play", Update_PlayPauseButton); Player.addEventListener("play", Update_PlayPauseButton);