I found that it's useful to sometimes have the YouTube videos automatically start. For example, I've created a node-video.tpl.php file that detects when $page == TRUE and the video will automatically play if that's the case.

This simple patch allows you to do that.

CommentFileSizeAuthor
autoplay.patch1.08 KBSteve Dondley
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

aaron’s picture

i'll look at this -- already have added autoplay (with admin settings in place) for youtube at video_cck. i strongly suggest switching over to that module, as i'm not really intending to support or extend the youtube_cck module anymore. i might be writing a script to help people convert to the other module, but no promises.

aaron’s picture

Status: Needs review » Closed (won't fix)

thanks for the patch. never did get around to it. don't want to mess with the conversion process, though, so convert to Embedded Media Field instead, which already has this feature.

aaron