1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Audio stops playing on chrome

Discussion in 'Programming' started by JEET, Dec 9, 2020.

  1. #1
    Audio stops playing on chrome

    I have an audio playing on a webpage.
    It plays normally. So far ok.

    Now, there is a button on same webpage which allows users to capture a video using their phone camera.

    As soon as this button is clicked, the audio in the background stops playing.
    I want to keep that audio playing while the user is recording a video.
    How can I do this?

    Here's a demo page.
    Please note, its only demo, not a webpage that will go live on site.

    Click the play button in the audio player to start the audio,
    then click that select file button, and audio will stop, and I don't know why...

    That select file button will prompt you to record a video using camera, that part is working ok.
    Only problem is that audio stops playing.

    And this audio auto stop is happening on phone browser only.
    On laptop the audio keeps playing normally...

    Any help is greatly appreciated.
    JEET, Dec 9, 2020 IP
  2. qwikad.com

    qwikad.com Illustrious Member Affiliate Manager

    Likes Received:
    Best Answers:
    Trophy Points:
    It didn't stop for me (I am using Chrome).
    qwikad.com, Dec 10, 2020 IP
    JEET likes this.
  3. JEET

    JEET Notable Member

    Likes Received:
    Best Answers:
    Trophy Points:
    I guess its only happening on IOS when using chrome.
    Found a long thread on Apple forums where this same bug is reported.
    Thanks for confirming that its working!
    JEET, Dec 10, 2020 IP