You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I enable autoPlay, use the HLS provider and reload a page with a video on it, the autoplay request fails as expected because of the browsers autoplay policy. Also corresponding events are triggered and errors are written to the console.
But it's still possible to click on the play button to start the video manually.
However when I use the YouTube provider, again the autoplay request fails but no events are triggered nor something is written to console. Also the player stays in the loading state and I can't click the play button to start the video manually.
Expected Behavior:
YouTube provider should have same behavior like HLS provider when autoplay fails. It should still be possible to start the video manually.
Steps To Reproduce:
Enable autoplay
Set a YouTube video as player source
Reload the page
Environment:
Framework: Angular v18
Node: 20
Device: PC
OS: Windows
Browser: Chrome@126
vidstack: 1.11.24
The text was updated successfully, but these errors were encountered:
Current Behavior:
When I enable
![image](https://private-user-images.githubusercontent.com/43130816/344080397-971b68b9-0af7-41b9-8c59-241bd76ffff4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAzOTI0NTAsIm5iZiI6MTcyMDM5MjE1MCwicGF0aCI6Ii80MzEzMDgxNi8zNDQwODAzOTctOTcxYjY4YjktMGFmNy00MWI5LThjNTktMjQxYmQ3NmZmZmY0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA3VDIyNDIzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU2MzRkM2I5M2NkMDAyZWFkZGU1YWJlMmY2ZjJiMTM0OTc5MGUzOTRhMTE1YzkzOThhNDdhMDA5YWMwNDA3YTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.J8dRA9IuOLwJpMPUPXxIGS_X4vQ1EGcuZPAlykLGTJU)
autoPlay
, use the HLS provider and reload a page with a video on it, the autoplay request fails as expected because of the browsers autoplay policy. Also corresponding events are triggered and errors are written to the console.But it's still possible to click on the play button to start the video manually.
However when I use the YouTube provider, again the autoplay request fails but no events are triggered nor something is written to console. Also the player stays in the loading state and I can't click the play button to start the video manually.
Expected Behavior:
YouTube provider should have same behavior like HLS provider when autoplay fails. It should still be possible to start the video manually.
Steps To Reproduce:
Environment:
The text was updated successfully, but these errors were encountered: