More in this section

Forums / Bugs & Issues / Video Template

Video Template

4 posts, 0 answered
  1. Anu
    Anu avatar
    72 posts
    Registered:
    17 Jun 2010
    17 May 2011
    Link to this post
    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 ... :)
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    17 May 2011
    Link to this post
    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
  3. Anu
    Anu avatar
    72 posts
    Registered:
    17 Jun 2010
    19 May 2011
    Link to this post
    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 ... :)

  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    24 May 2011
    Link to this post
    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="http://localhost:4000/ClientBin/Telerik.Sitefinity.Silverlight.xap" name="source">        <param value="controlName=mediaplayer,VideoSource=http://localhost:4000/videos/default-video-library/test.wmv?Status=Master,VideoTitle=nokia5,PlayerSkin=" 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
4 posts, 0 answered