• Is there a way to play an mp3 or other sound file on my wordpress site while a music app like Pandora is playing?

    I want to play a looping audio file (that sounds like an interval timer for working out), but also hear a music app playing at the same time.

    I would also be open to programming a interval timer instead of using a looping audio file if anyone has any suggestions. (my coding skills are limited but I can learn)

    Whenever I play the audio file on my site, it makes the music app stop playing.

    • This topic was modified 2 years, 9 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    This is an issue to be discussed with your phone/device’s support; it’s not a WordPress issue. In general, at least based on my iPhone, only one thing can output sound at a time.

    Thread Starter jordanoboylex

    (@jordanoboylex)

    Certain mobile apps will let you play two different audio sounds at the same time; TSP Timer and Pandora. The programmer of the Tabata Stopwatch Pro Timer (an iOS and Android app) told me it was because:
    “We don’t really have any specific code for Pandora or any such music service in the app, audio is capable of playing in parallel just as a function of how iOS works by setting the correct Audio Session category and not much else.”

    I’ve found discussion and iOS/Android code for allowing two different apps to “set the correct Audio Session” and play audio at the same time.

    Is their a way to “set the Audio Session” with html and allow a website and a mobile app to play sound at the same time? Is there anyway to make the audio in my website not make the music app stop?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Again, I think this is an iOS question, not a WP one.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to play audio on my site and play music app at the same time?’ is closed to new replies.