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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...