Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Lance Cleveland

    (@charlestonsw)

    This error goes away if you only enter the video ID (as instructed).

    A graceful exit would be better:

    1) Catch the message and don’t crash before letting PHP reach the fatal error state.

    2) Use regex and strip off the full URL before the video ID, auto-fixing the entry for the user.

    Either of those would be helpful. Let me know if you’d like assistance in coding that piece.

    Thus far this looks like a very useful plugin. About to give it a try on my live site now that tests on my staging site are done.

    Plugin Author Praveen Rajan

    (@praveen-rajan)

    Thanks for the suggestions. Will look into these.

    I got the same error

    Warning: simplexml_load_file(https://gdata.youtube.com/feeds/api/videos/b7rGEb3iBBE) [function.simplexml-load-file]: failed to open stream: HTTP request failed! HTTP/1.0 403 Access denied. in /home/zedacc/public_html/fscad/wp-content/plugins/cool-video-gallery/lib/youtube.php on line 109

    Following are my server settings:

    Operating System : Linux (64 Bit)
    Server : Apache
    MySQL Version : 5.5.23-55
    PHP Version : 5.2.17
    PHP Max Upload Size : 64MB
    FFMPEG : Not Installed
    [Note: Preview images for uploaded videos will not be created automatically using FFMPEG. Manually upload preview images for videos.]
    PHP extension SimpleXML : Enabled
    PHP setting allow_url_fopen : Enabled

    So its not server problem, its works find in local machine but it gives error on my live server

    I am also entring the video ID not the URL e.g. i have entered (b7rGEb3iBBE) without bracket

    It seems youtube is not authorizing the CVG request, can you guide me

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error Adding YouTube Videos’ is closed to new replies.