Jump to content
  • 0

Auto-play android



Hi all,

I am trying to do a setup with some smart-boards we have, when I open the video stream on a desktop the video starts playing with no issues, when I try to start the video on a smart-board running android, it will not auto play and, some one has to click play, I don't care if it plays muted to start with, as long as the video plays, the video with be in sign language anyway. I just need it to auto play when the site is open on the android device, I have tried http://hostname:5080/LiveApp/play.html?name=streamname also played around with an iframe. 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 1

Hi @Bazza_oz
I hope you are fine.
Change the following lines in play.html in the /usr/local/antmedia/webapps/LiveApp folder: 

var pAutoplay = getUrlParameter("autoplay");
                var autoPlay = true;
                if (pAutoplay == "true" || isMobile()) {
                        autoPlay = true;

  • Thanks 1
Link to comment
Share on other sites


  • Create New...