Page 1 of 1

How to click on a button and play a video

PostPosted: 08. June 2010 20:12
by aprilcomingsoon
I use render tool to play a video.
$RenderTool.renderInline($SearchTool.getByID("6b78a4fd-0a19-4033-015c-c48bd3b4e2b0"), 'Front Page Video')
But each time i open the website and the video automatically starts. I try to set autostart = "false". But "autostart" works for the regular html. When i use Velocity render tool as below, it is not working.

<embed $RenderTool.renderInline($SearchTool.getByID("6b78a4fd-0a19-4033-015c-c48bd3b4e2b0"), 'Front Page Video') autostart="false"></embed>



by the way , i try not using $RenderTool.renderInline but only $SearchTool.getByID as following. But no video is showing on the website this time.

<object height="344" width="500">
<param value="$SearchTool.getByID("6b78a4fd-0a19-4033-015c-c48bd3b4e2b0")" name="movie" />

<param value="true" name="allowFullScreen" />
<param value="always" name="allowscriptaccess" /><embed height="344" width="500" allowfullscreen="true" allowscriptaccess="always" type="application/x-shockwave-flash" param autostart="false" src="$SearchTool.getByID("6b78a4fd-0a19-4033-015c-c48bd3b4e2b0")" value></embed></object>

Re: How to click on a button and play a video

PostPosted: 08. June 2010 21:03
by Altrea
How is this related to XAMPP for Windows?