www.webdeveloper.com
Results 1 to 5 of 5

Thread: Can you solve this iframe problem?

  1. #1
    Join Date
    Jun 2013
    Posts
    1

    Can you solve this iframe problem?

    I am trying to create a box in a page which opens up an area of another page and site and then allows me to play the media. The media is not owned by the site so there are no copyright issues there but somehow the page reacts differently from when I view the page normally to viewing the page in an iframe.
    When I view it normally I can play any media file I like. When viewing in a n iframe it asks me to sign up and become a member. Is there a way around this so that I can view the box and click play and it respons exactly as if I was a normal visitor to the page?

    The site link is as follows: http://hypem.com/track/1h68f/TODD+TE...nspector+Norse

    The HTML I have so far is as follows:


    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

    <style type="text/css">
    <!--
    #container{
    width:1500px;
    height:1500px;
    border:1px solid #000;
    overflow:hidden;
    margin:auto;
    }
    #container iframe {
    width:2000px;
    height:1000px;
    margin-left:0px;
    margin-top:0px;
    border:0 solid;
    }
    -->
    </style>

    </head>
    <body>


    <div id="container">
    <iframe src="http://hypem.com/track/1h68f/TODD+TERJE+-+Inspector+Norse" scrolling="no" ></iframe>
    </div>


    </body>
    </html>


    PLEASE HELP!!!

    thanks

  2. #2
    Join Date
    Aug 2012
    Location
    TX
    Posts
    293
    A few things..

    1. it could be the browser your using.

    2. the site could have a way of blocking this..

    3. and my fav... when i go to that link it does not play music till I hit play. This might be the problem. The site could be appearing but you need to click play in order to get it to play music.

    Whats your ultimate goal here. Do you just want a music player on your site? cause there are other options?

  3. #3
    Join Date
    Mar 2011
    Posts
    1,139
    Presumably, the site in question has software in place to prevent people from hijacking their content as you're trying to do.

    Here's a good rule of thumb: If you want to use content that you didn't create, find out who owns it and ask for permission. Not only is it the right thing to do, you'll get better results and you'll never get into trouble.
    Rick Trethewey
    Rainbo Design

  4. #4
    Join Date
    Aug 2012
    Location
    TX
    Posts
    293
    where is the fun in that? lol

    But ya I agree or like I said its the play button not being hit.. I dont think its a hijacking situation... I cant imagion why an add site would not want people putting there site in an iframe.. it only helps them.

  5. #5
    Join Date
    Mar 2011
    Posts
    1,139
    People try all sorts of ways to extract selected areas of other websites to use on their own sites. But even if a site displays the other site's entire page, it's likely still surrounding whatever they do show with at least links to other pages within their own site, and probably more. In other words, it's leveraging the content of the other site without permission in order to increase traffic.
    Rick Trethewey
    Rainbo Design

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles