Is there any way to do it without using autoplay in the header? The reason I ask is that (when I get the page working so far) the video will play or not using conditional logic pulled by PHP from a MySQL database so I need to be able to cue/play without the user clicking.
On Thu, Feb 10, 2011 at 1:47 PM, Sam Sherlock <[email protected]>wrote: > Youtube API has various params > http://code.google.com/apis/youtube/player_parameters.html > > autoplay > > > - S > > > > On 10 February 2011 13:33, Laura Walker <[email protected]> wrote: > >> That helped, thank you! Now I'm hoping you can help again :-) >> >> I'm trying to make it so that the video cues when the page loads rather >> than on clicking a link. My javascript is rusty though and I just don't seem >> to be getting it right. >> >> >> http://darkfort.co.uk/youtube/index_dy.html >> >> Can you help, or alternatively toss me a link to a tutorial? >> >> On Tue, Feb 1, 2011 at 9:14 PM, Aran Rhee <[email protected]> wrote: >> >>> Nathan beat me to it, but anyways: >>> >>> You need to upload the swfobject.js to your server. It is currently >>> expecting it here: >>> http://darkfort.co.uk/youtube/src/swfobject.js >>> >>> Otherwise, you can point to the Google hosted version of the library >>> here: >>> >>> http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js >>> >>> >>> BTW - you have set the required version of Flash player as 2.0. This will >>> lead to troubles as a Flash player needs to be >=v9 for the Youtube player. >>> >>> >>> >>> On Tue, Feb 1, 2011 at 2:56 PM, shewhoguards <[email protected]>wrote: >>> >>>> This is one of those things that, when I figure it out, I know is >>>> going to be stupidly simple. >>>> >>>> I'm playing around with the YouTube API using SWFObject. The static >>>> version works fine -- but I need the dynamic version so I can throw >>>> "allowscriptaccess" in. I put everything in, I open as a local file, >>>> it works. I upload to a webserver and it tells me my Abobe Flash is >>>> out of date. >>>> >>>> I have upgraded to the latest Flash player, tried on Firefox and IE on >>>> Vista and tried my partner's Mac. No joy. Please, what am I missing? >>>> >>>> http://darkfort.co.uk/youtube/index_dy.html >>>> >>>> Laura >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "SWFObject" group. >>>> To post to this group, send email to [email protected]. >>>> To unsubscribe from this group, send email to >>>> [email protected]. >>>> For more options, visit this group at >>>> http://groups.google.com/group/swfobject?hl=en. >>>> >>>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "SWFObject" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group at >>> http://groups.google.com/group/swfobject?hl=en. >>> >> >> >> >> -- >> >> Blackadder: I mean, what about the people that do all the work? >> Baldrick: The servants. >> Blackadder: No, me; *I'm* the people who do all the work. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "SWFObject" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/swfobject?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "SWFObject" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/swfobject?hl=en. > -- Blackadder: I mean, what about the people that do all the work? Baldrick: The servants. Blackadder: No, me; *I'm* the people who do all the work. -- You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.
