Ready to get started?Download WordPress


YouTube Channel
"Bad URL" message from Youtube. (2 posts)

  1. Craftsmann
    Posted 2 years ago #

    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.


  2. urkekg
    Plugin Author

    Posted 2 years ago #

    Fixed in 1.3. Thanks for report.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic