Amir Hazan Posted January 3, 2022 Share Posted January 3, 2022 Hello For start playing unmute content i just need to comment this lines (from play.html): <!-- Mute/Unmute Video Button--><button onclick="changeVideoMuteStatus()" id="unmuteButton" title="Mute/Unmute Video"> Unmute </button> Link to comment Share on other sites More sharing options...
0 Yash Posted January 4, 2022 Share Posted January 4, 2022 Hi Amir, Hope you are fine. This is a default behavior of the browser. If auto play is enabled, audio is muted. You can make it unmute by changing in the play.html file https://github.com/ant-media/StreamApp/blob/master/src/main/webapp/play.html#L120 You can find the play.html file in /usr/local/antmedia/webapps/your-application/play.html This is about browser policy. It may not start auto play in some cases if video has audio and you may need to manual interaction to play the video. For further information, take a look at this blog post https://developers.google.com/web/updates/2017/09/autoplay-policy-changes Regards, Yash Link to comment Share on other sites More sharing options...
Question
Amir Hazan
Hello
For start playing unmute content i just need to comment this lines (from play.html):
<button onclick="changeVideoMuteStatus()" id="unmuteButton" title="Mute/Unmute Video">
Unmute
</button>
Link to comment
Share on other sites
Top Posters For This Question
1
1
Popular Days
Jan 3
1
Jan 4
1
Top Posters For This Question
Yash 1 post
Amir Hazan 1 post
Popular Days
Jan 3 2022
1 post
Jan 4 2022
1 post
1 answer to this question
Recommended Posts