Jump to content


Photo

Auto play sound on mobile


  • Please log in to reply
3 replies to this topic

#1 mohammad

mohammad

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 690 posts
  • LocationKufur Kassem, Palestine

Posted 19 September 2017 - 05:45 AM

It's tricky to play sound in mobile browser here a project showing how to do it.

 

You must attach the play event to a control that you know that the user will click/tap and then play and pause sound, after that you can control the play where you want automatically.

myMsound.play();
myMsound.pause();

Download: http://3msoft.net/mh...ound_mobile.rar Port: 8845

 

Online demo: http://5.189.151.122:8845/m


  • 2

#2 zemorango

zemorango

    Member

  • uniGUI Subscriber
  • PipPip
  • 32 posts
  • LocationPortugal

Posted 19 September 2017 - 09:09 AM

good work :D


  • 0

#3 Leandro Avila

Leandro Avila

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 103 posts
  • LocationBrazil / Rio Grande do Sul

Posted 19 September 2017 - 01:38 PM

It's tricky to play sound in mobile browser here a project showing how to do it.

 

You must attach the play event to a control that you know that the user will click/tap and then play and pause sound, after that you can control the play where you want automatically.

myMsound.play();
myMsound.pause();

Download: http://3msoft.net/mh...ound_mobile.rar Port: 8845

 

Online demo: http://5.189.151.122:8845/m

 

very good
thank you  :D

  • 0

#4 Schuiab

Schuiab

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 318 posts

Posted 19 September 2017 - 04:52 PM

Thank you brother Mohammad :)


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users