Change History (6)
#2
in reply to: ↑ 1
@
13 years ago
Replying to johnbillion:
Interesting. YouTube's oEmbed response is currently returning a trailing closing bracket after the closing
</iframe>.
Not sure that we can do anything about this except alert someone at YouTube. Anyone have any contacts there?
yes you're right, the problem come from youtube embed, which if you open any video and click on [ embed ] button you will found " ) " after closing iframe ..
i sent feedback to youtube team, so you can close this ticket now.
thanks
#5
follow-up:
↓ 6
@
13 years ago
Until there's a fix, here's a workaround you can put into functions.php:
function embed_fix_stray_parens($content) {
return str_replace('</iframe>)','</iframe>',$content);
}
add_filter('the_content','embed_fix_stray_parens');
#6
in reply to: ↑ 5
@
13 years ago
Replying to room34:
Until there's a fix, here's a workaround you can put into functions.php:
function embed_fix_stray_parens($content) { return str_replace('</iframe>)','</iframe>',$content); } add_filter('the_content','embed_fix_stray_parens');
or this method also : http://stackoverflow.com/a/22349242/1647434 / working fine with me.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)

Interesting. YouTube's oEmbed response is currently returning a trailing closing bracket after the closing
</iframe>.Not sure that we can do anything about this except alert someone at YouTube. Anyone have any contacts there?