montreyw / Theme-Redesign-and-SEO-Overhaul

Earmilk redesign project
2 stars 0 forks source link

Krystalmath post -- serious bug (possibly iFrame bug) #6

Closed andrebu closed 8 years ago

andrebu commented 8 years ago

Something is seriously wrong with this post: http://www.earmilk.com/album-reviews/245992/krystalmath/krystalmath/

Many of the iFrames open windows into http://www.earmilk.com instead of the SoundCloud song to which it should iFrame.

And yet if you navigate to: https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/173403847&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&visual=true

The iFrame works just fine.

Not sure if its a server settings issue or a plugin error of some sort but it should at least be investigated if not resolved.

andrebu commented 8 years ago

The issue was simply that the URL was copied with quotes around it resulting in HTML like so:

<p><iframe src="&quot;https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/
tracks/173403847&amp;auto_play=false&amp;hide_related=false&amp;show_comments=true&amp;
show_user=true&amp;show_reposts=false&amp;visual=true”" width="100%" height="450" 
frameborder="no" scrolling="no"></iframe></p>

Forcing the iFrame to attempt to navigate to &quot;https://w.soundcloud.com/player/?..., accidentally including `"' before the URL.

Issue is closed.