By Justin Throngard on Thursday, 11 December 2014
Posted in General Issues
Replies 5
Likes 0
Views 1.1K
Votes 0
It seems like I've asked about this before but can't find any thread about it. But when we use Youtube's standard embed code ie.
<iframe width="560" height="315" src="//http://www.youtube.com/embed/aLOYh8oDEZ8?rel=0&showinfo=0" frameborder="0" allowfullscreen></iframe>


It works fine in the front end. However, in RSS it adds the root domain to the front - making the code:
<iframe width="560" height="315" src="http://www.domain.com//www.youtube.com/embed/aLOYh8oDEZ8?rel=0&showinfo=0" frameborder="0" allowfullscreen></iframe>


Which isn't the proper usage. If you manually add http:// to the front of the source in the iframe all is good. However most of my clients won't know/remember to do that. Can we modify the RSS feed code so that it'll ignore those or add http:// without manually changing them?
Hello Justin,

Can you provide us your backend and FTP access so we can fix this on your site?
·
Thursday, 11 December 2014 12:28
·
0 Likes
·
0 Votes
·
0 Comments
·
I can't send you backend access as we've enabled strong security features for this site. FTP attached.
·
Friday, 12 December 2014 01:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Justin,

It is a bit hard for us to debug if we don't have access to your backend. May I know where I can't replicate the Youtube RSS feed? Please advise.
·
Friday, 12 December 2014 11:18
·
0 Likes
·
0 Votes
·
0 Comments
·
You can see the feed here: http://www.goodlookingloser.com/get-hung?format=feed&type=rss

Search iframe - HOWEVER, I've done a sitewide find and replace on these so all currently say "http://www.youtube.com" instead of the default.
·
Saturday, 13 December 2014 01:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Justin,

Looks like your URLs are fixed. I don't see any additional domain url added to the Youtube URL video. However, we still need your backend to check this so it would be easier for us to debug.
·
Saturday, 13 December 2014 11:55
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post