WordPress.org

Support

Support » Plugins and Hacks » YouTube Channel » [Plugin: YouTube Channel] "Bad URL" message from Youtube.

[Plugin: YouTube Channel] "Bad URL" message from Youtube.

  • Craftsmann

    @craftsmann

    Hello,
    I had this Bad URL message from youtube and spent some time to find out the cause 🙂 So… in line 236 of youtube-channel.php you use short open tag “<?”

    src="http://www.youtube.com/embed/<? echo $yt_url."?enablejsapi=1";....

    but my hosting has directive short_open_tag=off by default in php.ini. Temporary I replaced “<?” with “<?php” and problem has been solved 🙂 Other solution is to switch the directive to On but it can be impossible on some hosting servers.

    http://wordpress.org/extend/plugins/youtube-channel/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: YouTube Channel] "Bad URL" message from Youtube.’ is closed to new replies.
Skip to toolbar