Auto-Play and Auto-Sync to Live Edge on Interruption #1476
Unanswered
Jeck-Liu-Create
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description:
The PlayerActions.tsx component is intended to automatically play the video upon page load and, in the event of a live stream interruption, automatically update to the latest position when the stream resumes. However, these functionalities are not working as expected.
Steps to Reproduce:
Load the page containing the PlayerActions component.
Observe that the video does not automatically start playing.
Interrupt the live stream and then resume it.
Observe that the video does not automatically sync to the latest position.
Expected Behavior
The video should automatically start playing when the page loads.
If the live stream is interrupted, the video should automatically sync to the latest position when the stream resumes.
Actual Behavior
The video does not automatically start playing upon page load.
The video does not automatically sync to the latest position after a live stream interruption.
Code Snippet:
Environment
React Version: [Specify React version]
@vidstack/react Version: [Specify @vidstack/react version]
Browser: [Specify browser and version]
Operating System: Windows
Additional Context
Ensure that the MediaPlayer component is correctly referenced and that the play and seekToLiveEdge methods are properly invoked.
Verify that the useEffect hook is correctly triggering the auto-play functionality.
Check for any console errors or warnings that might provide additional insights.
Beta Was this translation helpful? Give feedback.
All reactions