object embed code.

ironstrike 25 Nov 2009 22:51
OK I know the preview code for embedding clip previews on other sites comes with each clip.

I remember Marcus added some extra features to expand the functionality of that....

I searched the forums and I cant find it ARG!!!

So what is the command that makes it so the preview doesnt start automatically? I thought maybe it was this:

<param name="play" value="false"/>

but that doesnt work :(
csproduction 6 Dec 2009 18:09
Have you tried <autoplay="false">?
ironstrike 6 Dec 2009 21:37
Thank you for the response, however I tried it but it didn't work :(
marcus 7 Dec 2009 09:13
Apologies for the late response, I missed this one.

We have the flashvar playOnMo that we set to yes in the forums for clips so they start playing on mouseover. The problem is that they start to load the flv and then immediately pause so they are a bit heavy if you have several images.

We just added the possibility to set playOnMo to click which loads the largest of the icons (up to 480x270 in size) instead, and loads the flv when the user clicks the play button.

We'll change playOnMo from yes to click on the embedded Pond5 player in the forums too.

Marcus
marcus 7 Dec 2009 11:52
playOnMo=click is in place for the forums too now and the cached forum message should all have expired. The thread about your favorite clips should be a good test. :)

Marcus
ironstrike 7 Dec 2009 12:20
Thanks for the update!
However when I use the embed code this is the proper way to do it right?
playOnMo=click&amp;

Ive started a blog and its not very long as of now, but Im just trying to build content for the time being, and it doesnt seem to be working in this context.

http://www.ironstriker.com/blog/blogs/index.php/2009/11/25/gas-mask-greenscreen-with-the-5d?blog=1

Heres how I embeded it, I put the playOnMo part near the end.


<object width="480" height="303" type="application/x-shockwave-flash" id="embid555704" data="http://www.pond5.com/pond5FlashPlayer2.swf"><param name="movie" value="http://www.pond5.com/pond5FlashPlayer2.swf" /><param name="wmode" value="opaque" /><param name="allowscriptaccess" value="always" /><param name="allowfullscreen" value="true" /><param name="flashvars" value="hideController=no&amp;itemid=555704&amp;orgClipWidth=1920&amp;orgClipHeight=1080&amp;debug=no&amp;hqFLV=yes&amp;filetype=flv&amp;server=prod&amp;cj=yes&amp;username=ironstrike" /><embed src="http://www.pond5.com/pond5FlashPlayer2.swf" width="480" height="303" allowscriptaccess="always" allowfullscreen="true" wmode="opaque" flashvars="hideController=no&amp;itemid=555704&amp;orgClipWidth=1920&amp;orgClipHeight=1080&amp;debug=no&amp;hqFLV=yes&amp;filetype=flv&amp;server=prod&amp;cj=yes&amp;playOnMo=click&amp;username=ironstrike"></embed></object>
marcus 7 Dec 2009 12:47
it works for me. It's probably because the swf is cached in your browser. if you empty your cache or add a ?1 behind the swf filename, it should create a new cache object. To add extra confusion, the flag has to be entered twice - once for the embed tag and once for the object tag:

<object width="480" height="303" type="application/x-shockwave-flash" id="embid555704" data="http://www.pond5.com/pond5FlashPlayer2.swf?1">
<param name="movie" value="http://www.pond5.com/pond5FlashPlayer2.swf?1" />
<param name="wmode" value="opaque" />
<param name="allowscriptaccess" value="always" />
<param name="allowfullscreen" value="true" />
<param name="flashvars" value="hideController=no&amp;itemid=555704&amp;orgClipWidth=1920&amp;orgClipHeight=1080&amp;debug=no&amp;hqFLV=yes&amp;filetype=flv&amp;server=prod&amp;cj=yes&amp;playOnMo=click&amp;username=ironstrike" />
<embed src="http://www.pond5.com/pond5FlashPlayer2.swf?1" width="480" height="303" allowscriptaccess="always" allowfullscreen="true" wmode="opaque" flashvars="hideController=no&amp;itemid=555704&amp;orgClipWidth=1920&amp;orgClipHeight=1080&amp;debug=no&amp;hqFLV=yes&amp;filetype=flv&amp;server=prod&amp;cj=yes&amp;playOnMo=click&amp;username=ironstrike">
</embed>
</object>
ironstrike 7 Dec 2009 13:18
Ahh thank you! It works now.

I also use the opera browser BTW.