WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using WordPress 3.5 and YouTube Sidebar Widget 1.3.2.

The plugin display service is unavailable. Why have I encountered service unavailable? The YouTube video is set to be public and embeddable.

share|improve this question
Have you tried adding the video as HTML? Without more information we cannot answer your question. – toscho May 4 '13 at 12:13
Suggestion: report the workaround bellow to the plugin author. – brasofilo May 4 '13 at 20:36
It seems the plugin is no longer under maintance. – Ralf912 May 5 '13 at 23:22

The plugin uses cURl direkt instead of WordPress' built in HTTP class. If your sever does not support cURL, the plugin can not work and you got this message. Deinstall the plugin and use another one. Or replace the curl_it() function within the plugin with something stable.


The workaraound:

Open the plugin file youtube-sidebar-widget.php and replace the function curl_it() with this:

function curl_it($url) {

  $data = wp_remote_get( $url );

  return ( ! is_wp_error( $data ) && isset( $data['body'] ) ) ?
    $data['body'] : false;

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.