• Hi ,
    I am trying to embed the URL : [ redundant link removed ] into my Music page on my website and I have some issues .
    I tried copying the html code of the URL and paste it on the page , but it does not capture all the css and it looks bad .

    When you put the URL in IFRAME code : `<iframe src=””https://li.sten.to/magefa””><span data-mce-type=”bookmark” style=”display: inline-block; width: 0px; overflow: hidden; line-height: 0;” class=”mce_SELRES_start”>?</span>
    </iframe>`
    It is giving a message : The requested URL was not found on this server.

    Any help would be appreciated .
    Thanks!

    • This topic was modified 5 years, 3 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not a Developing with WordPress topic

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    iframes with 3rd party content are difficult to accomplish because modern browsers implement Content Security Policies (CSP) to protect from cross site scripting (XSS) attacks. The source site has to explicitly allow embedding for it to work. And embedding through other means often involves inline CSS which is difficult to override.

    You ought to be able to embed just the YouTube player, but I understand if you do not find that to be a desirable solution. If you can provide a live link to your page that looks bad, maybe someone here can provide corrective CSS if it’s possible to do so.

Viewing 1 replies (of 1 total)
  • The topic ‘how to embed li.sten.to URL into my page?’ is closed to new replies.