Video Template

Posted by Community Admin on 04-Aug-2018 10:15

Video Template

All Replies

Posted by Community Admin on 17-May-2011 00:00

Hello Ivan,

Im Customizing Video Templates ( Frontend) ... both List and Details View ... I have Created User Controls for the both ... Im using Video Gallery of Sitefinity 4.0 to store Videos ... Can u pls tel me how to get n display those Videos and Thumbnail in my User Control (using Sitefinity Tables) ...

Thanks ... :)

Posted by Community Admin on 17-May-2011 00:00

Hi Anu,

You should have a payer that shows the videos. You can get the media object using the API.

Greetings,
Ivan Dimitrov
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 19-May-2011 00:00

Hello Ivan,
Thanks for ur Reply ... Now im able to display Thumbnail ... But still stuck in playing the Videos ... I have used Video Library as follows ...

IQueryable

 

 

<Video> singleVideos = FindVideos(new Guid(Request.QueryString["ID"])); 

 

 

 

 

 

Array arr = singleVideos.ToArray();

 

 



In singleVideos im getting all the Details of Video whose ID im passing ... Can u pls tel me which Property of singleVideos should i use as src for playing Video ... Im using Object as follows ...

<object id="slPlayerPlugin"

data="data:application/x-silverlight"

width="500" height="400" type="application/x-silverlight" processcomplete="undefined">

<param name="minRuntimeVersion" value="4.0.50401.0" />

<param name="windowless" value="true" />

<param name="background" value="Transparent" />

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

<param name="source" value="/COMMUNICATE_2/ClientBin/Telerik.Sitefinity.Silverlight.xap" />

<param name="initParams" value="controlName=mediaplayer" />

<param name="onError" value="__slEvent0" />

<param name="onLoad" value="__slEvent1" />

</object>


Please Reply ... Its Urgent ...

Thanks ... :)

Posted by Community Admin on 24-May-2011 00:00

Hello Anu,

You should use MediaUrl property.

You should set the VideoSource parameter to the url of the video - wmv file. The url is returned by MediaUrl property.

<object width="320" height="240" data="data:application/x-silverlight," type="application/x-silverlight">        <param value="4.0.50401.0" name="minRuntimeVersion">        <param value="true" name="windowless">        <param value="Transparent" name="background">        <param value="false" name="autoUpgrade">        <param value="localhost:4000/.../Telerik.Sitefinity.Silverlight.xap" name="source">        <param value="controlName=mediaplayer,VideoSource=localhost:4000/.../test.wmv name="initParams">        </object>

All the best,
Ivan Dimitrov
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed