Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8891097
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T22:39:06+00:00 2026-06-14T22:39:06+00:00

I have found a bug using the external controls for the html5 widget on

  • 0

I have found a bug using the external controls for the html5 widget on iOS, i have tested with iphone and ipad. The controls inside the widget work ok. However on my clients site http://www.bushytunes.net and the widget api playground http://w.soundcloud.com/player/api_playground.html the external controls run an error.

Here is what the console from the widget playground prints:

SC.Widget.Events.PLAY {"loadedProgress":null,"currentPosition":0,"relativePosition":0}
SC.Widget.Events.PAUSE {"loadedProgress":null,"currentPosition":0,"relativePosition":0}
SC.Widget.Events.PLAY {"loadedProgress":null,"currentPosition":0,"relativePosition":0}
SC.Widget.Events.PLAY {"loadedProgress":null,"currentPosition":0,"relativePosition":0}
SC.Widget.Events.PLAY {"loadedProgress":null,"currentPosition":0,"relativePosition":0}
SC.Widget.Events.READY {}
Loading...

Thanks, James

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T22:39:08+00:00Added an answer on June 14, 2026 at 10:39 pm

    TL;DR: iOS 6 should work with a limitation of a call to play to be init by user action, iOS5 and below probably won’t get a fix.

    We’ll try to resolve this with some kind of a hack, but most probably this won’t get a proper solution any time soon.

    SoundCloud Widget is using HTML5 Audio to play sounds on iOS. There are two limitations on starting playback in iOS:

    1. Playback must be started by user action (so within event handler)
    2. The call to audio.play method has to be within synchronous call stack of that event handler.

    This means, that this works:

    document.querySelector('.play-button').addEventListener('click', function () {
        audioController.play();
    }, false);
    

    But this doesn’t:

    document.querySelector('.play-button').addEventListener('click', function () {
        setTimeout(function () {
            audioController.play();
        }, 500);
    }, false);
    

    Cross-domain communication between iframes is only possible in asynchronous manner. Our implementation is using postMessage DOM API, but even older techniques such as Fragment Identifier Messaging (FIM) that is using location.hash are asynchronous. This means we don’t currently see a way of enabling playback through API for iOS5 and below (as there is also no Flash fallback).

    However, there are also good news: iOS6 has dropped the limitation No2. This means that as long as the API call to play is called by user action, you’ll be able to play sounds. Even though the communication between your parent window and widgets’ iframe is still async. Unfortunately iOS hasn’t dropped this limitation.

    I hope this helps and I’ll update this answer in case we find a proper workaround.

    My suggestion would be to build your own custom player with a library like Audio5JS or SoundManager2 in case controlling playback on iOS is crucial for your app.

    You can see vague description of what I am talking about on developer.apple.com resource.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have found an interesting bug when using a jQuery dialog where the first
I seem to have found a bug in jQuery UI that duplicates dragged elements
I believe I have found a weird bug as follow: I want to delete
I have found a fairly insignificant bug in SQL Server 2008. I would like
I have found what appears to be a strange bug with sqlite. I have
Today I found a very mysterious bug in the code. I have used the
I have found that I have no problem using require to load something like
I think I may have found a bug in PHP's crypt() function under Windows.
I think I have found a bug when setting or getting the Me.Top property
I have found a weird bug in my application and due to my small

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.