YouTube recently changed how a channel's live stream is provided. Before a video id was reused whenever a channel went live. Now they have a dedicated embed URL syntax.

I added this check to the module's code for my site so I can get going again for the time being. I dropped it in as the first thing in the _video_embed_field_get_youtube_id function in video_embed_field.handlers.inc.

// ... snip
function _video_embed_field_get_youtube_id($url) {
  // Embed a channel's live stream.
  if (strstr($url, 'live_stream?channel=')) {
    return check_plain(substr($url, strpos($url, 'live_stream?channel=')) . '&');
  }
  
  // Find the ID of the video they want to play from the url.
  // ... snip

Comments

flszen created an issue.