Please change the following function in the googtube.module to allow fullscreen mode...

function googtube_youtube($match) {
  $parsed_url = parse_url(check_url($match[0]));
  parse_str($parsed_url[query], $parsed_query);
  $youtube_id = $parsed_query['v'];
  return '<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/' . $youtube_id . '&fs=1"></param><param name="wmode" value="transparent"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/' . $youtube_id . '&fs=1" type="application/x-shockwave-flash" wmode="transparent" allowscriptaccess="always" allowfullscreen="true" width="425" height="350"></embed></object>';
}

Thanks

Comments

willeaton’s picture

p.s. I have manually set a different height and width to what you had originally, maybe this should be a variable in the input format settings page

alexandreracine’s picture

Good idea, I'll add the ((allowfullscreen="true")) parameter.

alexandreracine’s picture

Status: Active » Closed (fixed)

Comited, should be up soon.