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 9014971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T03:38:10+00:00 2026-06-16T03:38:10+00:00

On my site, I would like users to be able to type a SoundCloud

  • 0

On my site, I would like users to be able to type a SoundCloud URL into an input bar and then click a save button to turn the input bar into a SoundCloud music player playing that URL. However I’m getting the following error message in my Chrome console:

Unsafe JavaScript attempt to access frame with URL http://jsfiddle.net/AGcQm/ from frame with URL http://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F71112492&show_artwork=true&color=434C58&maxheight=266. Domains, protocols and ports must match.

Here is the exact code in jsFiddle:

http://jsfiddle.net/AGcQm/
  • 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-16T03:38:13+00:00Added an answer on June 16, 2026 at 3:38 am

    This should work fine:

    http://jsfiddle.net/AGcQm/2/

    $("#btnGo").click(function() {
    SC.oEmbed(
        $("#sndUrl").val(),
        {
            color: "434C58",
            maxheight: 266
        },
       $("#soundcloud")[0]);
    
    $("#sndUrl").hide();
    $("#btnGo").hide();
    });
    

    Edit: I get the same same warning as you describe. It appears to be some known issue of Chrome, but it doesn’t prevent the code from working. Basically the soundcloud iFrame is trying to access the parent, and Chrome doesn’t allow that.

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

Sidebar

Related Questions

For the site i am building i would like the users to be able
I would like to forward iphone users to a mobile version of my site
I would like to make it possible to redirect users from a site to
I am working on a dating site and would like the users to be
I would like to store the search queries the users enter on my site.
I would like to make a website where users would be able to upload
I am working on a site and I would like to make a user
I would like to redirect my user to another domain. For example: my site
I would like to add a feature onto my site that would allow a
I'm developing a MVC .Net site and would like to implement a CMS system.

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.