How to click on a button and play a video

Problems with the Windows version of XAMPP, questions, comments, and anything related.

How to click on a button and play a video

Postby aprilcomingsoon » 08. June 2010 20:12

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>
aprilcomingsoon
 
Posts: 1
Joined: 07. June 2010 17:49

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

Postby Altrea » 08. June 2010 21:03

How is this related to XAMPP for Windows?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 119 guests