videojs / video.js

Video.js - open source HTML5 video player
https://videojs.com
Other
37.85k stars 7.43k forks source link

Autoplay consecutive videos as muted/unmuted #8636

Closed MkManish25 closed 5 months ago

MkManish25 commented 6 months ago

Description

I am using videojs in my project and developed funtionality similar to youtube shorts. The challenge I am facing is not able to play consecutive videos after every swipe as autoplay with sound, after every swipe i have to tap on unmute first and then afterwards only i can hear sound. I want to maintain a state so that once a video is unmuted all the consecutive videos should be played unmuted till the time user has clicked on mute button again. Facing this issue in all the major browsers in IOS like chrome, safari,etc.

Reduced test case

https://m.youtube.com/shorts

Steps to reproduce

1.Opening any short and once tapped on mute button all the next videos in current session should be played unmuted

  1. All the videos should be played with sound till the time user has again tap on mute button
  2. how to make resemble video play with audio in videojs

Errors

No response

What version of Video.js are you using?

3.0.2

Video.js plugins used.

No response

What browser(s) including version(s) does this occur with?

All browsers

What OS(es) and version(s) does this occur with?

IOS

welcome[bot] commented 6 months ago

šŸ‘‹ Thanks for opening your first issue here! šŸ‘‹

If you're reporting a šŸž bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. To help make it easier for us to investigate your issue, please follow the contributing guidelines.