7938 Posts in 1466 Topics by 943 members
Page: 1 2
|Go to End||Next >|
23 November 2011 at 1:02am Last edited: 26 November 2011 2:13am
I need to display an image. when we click on the image that video should be play in the place of image only.
<% control video %>$Player(250,250)<% end_control %>
it is playing the video but it taking the default image but i need to display a image through database
that is $image
when i click on $image i need play a $video in place of $image only not the light box or any thing
23 November 2011 at 1:59pm Last edited: 26 November 2011 2:13am
You'll need to edit the video player controller code and template to add your own code to pull a different poster image.
23 November 2011 at 5:29pm Last edited: 26 November 2011 2:13am
Thank u for reply
plz tell me how to edit that code. I am new new to the silverstripe. if dont mind u have code plz post that code.
25 November 2011 at 11:11pm Last edited: 26 November 2011 2:13am
It's in dataobject_manager/code/flv/FLV.php on line 243. You should extend the FLV class and modify the player code to return the image from your database in place of the default image.
26 November 2011 at 12:16am Last edited: 26 November 2011 2:13am
any one help me plz
26 November 2011 at 6:35pm
If you want explicit instructions on how to do it then I suggest you hire an experienced developer instead of fishing for free work on this forum.
26 November 2011 at 6:39pm
Hi Rayan That work only pending in my project.
I am new to the silverstripe.
26 November 2011 at 6:43pm
I suggest you read the SilverStripe documentation at http://doc.silverstripe.org
Here are some topics that might be relevant to what you're trying to do:
Page: 1 2
|Go to Top||Next >|