WP Oembed not passing through the “autoplay=1” variable

Posted by criticerz on Stack Overflow See other posts from Stack Overflow or by criticerz
Published on 2010-12-14T18:27:22Z Indexed on 2011/01/15 12:53 UTC
Read the original article Hit count: 554

Filed under:
|
|
|
|

Hi guys,

I'm having a problem here..

I am passing this through a custom field: http://www.youtube.com/watch?v=E6P1Q-UycHA&autoplay=1

(notice the "autoplay=1")

But when I load the video on my theme using wp_oembed_get... it displays the video fine, but it does not listen to the "autoplay=1" variable I am passing through.

I need the videos to play on the load of the page.

Any ideas?

Thanks, Alain Fontaine

© Stack Overflow or respective owner

Related posts about php

Related posts about JavaScript