fix: playNext and playPrevious logic

This commit is contained in:
Prayag Prajapati committed 2024-07-19 19:42:55 +05:30
1 parent d077860fbc
commit 70c6dd927b
5 files changed
+93 -69

No files matched your search

+1 -1
View File
@@ -115,7 +115,7 @@ function VideoPlayer() {
if (!isReady) {
player.current?.seekTo(ticksToSec(startPosition), "seconds");
setIsReady(true);
console.log(item);
// Report Jellyfin server: Playback has begin
getPlaystateApi(api).reportPlaybackStart({
playbackStartInfo: {