mirror of
https://github.com/streamyfin/streamyfin.git
synced 2025-08-20 18:37:18 +02:00
fix: offline vlc playback not working
This commit is contained in:
@@ -219,6 +219,7 @@ export default function page() {
|
||||
pause={pause}
|
||||
stop={stop}
|
||||
seek={videoRef.current?.seekTo}
|
||||
isVlc
|
||||
getAudioTracks={videoRef.current?.getAudioTracks}
|
||||
getSubtitleTracks={videoRef.current?.getSubtitleTracks}
|
||||
setAudioTrack={videoRef.current?.setAudioTrack}
|
||||
|
||||
@@ -248,12 +248,6 @@ export default function page() {
|
||||
progress.value = currentTime;
|
||||
const currentTimeInTicks = msToTicks(currentTime);
|
||||
|
||||
// console.log("onProgress ~", {
|
||||
// currentTime,
|
||||
// currentTimeInTicks,
|
||||
// isPlaying,
|
||||
// });
|
||||
|
||||
await getPlaystateApi(api).onPlaybackProgress({
|
||||
itemId: item.Id,
|
||||
audioStreamIndex: audioIndex ? audioIndex : undefined,
|
||||
|
||||
Reference in New Issue
Block a user