Autoplay is supported by Vimeo, but not currently implemented in this module.

CommentFileSizeAuthor
#1 emfield-688498-1rp.patch2.61 KBRyan Palmer

Comments

Ryan Palmer’s picture

Status: Fixed » Needs review
StatusFileSize
new2.61 KB

Patch against 6.x-2.x attached.

mennonot’s picture

Status: Active » Reviewed & tested by the community

This patch worked for me. Except that the location of the file is incorrect. It should be: emfield/contrib/emvideo/providers/vimeo.inc not contrib/video_cck/providers/vimeo.inc. Also, this bit at the end seems unnecessary:

@@ -215,4 +215,4 @@ function video_cck_vimeo_preview($embed,
 function video_cck_vimeo_thumbnail($field, $item, $formatter, $node, $width, $height) {
   $xml = emfield_request_xml('vimeo', 'http://vimeo.com/api/oembed.xml?url=http%3A//vimeo.com/'. $item['value'], array(), TRUE, FALSE, $item['value']);
   return $xml['OEMBED']['THUMBNAIL_URL'][0];
-}
\ No newline at end of file
+}
rokr’s picture

Yes, the $autoplay is being ignored by the embed code. This one worked, thanks!

cheers, Ronald

aaron’s picture

Status: Reviewed & tested by the community » Fixed

thanks @Ryan Palmer! committed.

Status: Needs review » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.