This is a migrated thread and some comments may be shown as answers.

Radmediaplayer

5 Answers 92 Views
MediaPlayer
This is a migrated thread and some comments may be shown as answers.
peter shitote
Top achievements
Rank 1
peter shitote asked on 23 Jun 2010, 02:12 PM
Greetings Telerik Team,
I would like to integrate Radmediaplayer into on of my websites using sitefinity. I have gone through the forums and I have not come across a single step by step tutorial on how to integrate/add the player into my website. I am having problems where to start and how to go about it. Kindly assist me get started. I am still a sitefinity newbie. Thanks in advance

5 Answers, 1 is accepted

Sort by
0
Ivan Dimitrov
Telerik team
answered on 25 Jun 2010, 01:45 PM
Hello peter shitote,

To use RadMediaPlayer, you should create a Silverlight Application. Then you have to build a xap file and  add it to Sitefinity's project. Afterwords you have to call the xap from ASP.NET Silverlight control.

You have to register tag prefix for System.Web.UI.SilverlightControls in your web config

<pages
   <controls>
        <add assembly="System.Web.Silverlight" namespace="System.Web.UI.SilverlightControls" tagPrefix="asp"></add>

Then declare the the Silverlight control in your template

<asp:PlaceHolder ID="holder1" runat="server">
<asp:Silverlight ID="player" InitParameters="videoUrl={0},title={1},description={2}" runat="server" Source="~/Sitefinity/CustomSilverlightControls/Telerik.Samples.RadMediaPlayer.xap" MinimumVersion="2.0.31005.0" Width="475" Height="356" />
</asp:PlaceHolder>


The better option is using HTML or JavaScript

Best wishes,
Ivan Dimitrov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
peter shitote
Top achievements
Rank 1
answered on 01 Jul 2010, 01:13 PM
Hello Ivan Dimitrov,
I tried to follow the steps you gave me, but to no avail. I created the xap file and referred to it in my sitefinity control and the video is not showing let alone the component. Could you please attach me an example sitefinity project with radmedia player? If that is not possible then give alternative solutions to implement.

Thank you

Peter Shitote,
Web Developer
0
Ivan Dimitrov
Telerik team
answered on 01 Jul 2010, 02:05 PM
Hi peter shitote,

Below is a sample code that uses Sitefinity's built in xap for RadMedia player.

<object width="300" height="300" data="data:application/x-silverlight-2," type="application/x-silverlight-2">
<param name="source" value="Sitefinity/TelerikSilverlight/Telerik.Silverlight.xap"/>
<param name="InitParams" value="videoUrl=http://localhost:6291/WorkProject3x/Libraries/Video/WindowsMedia.sflb.ashx,title=WindowsMedia,description="/>
<param value="True" name="Windowless"/> <a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0.50401.0"
style="text-decoration: none;"> <img
alt="Get Microsoft Silverlight"
style="border-style: none"/> </a>
</object>


Kind regards,
Ivan Dimitrov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Abhishek
Top achievements
Rank 1
answered on 09 Nov 2011, 07:45 PM
HI,
Do you guys have a step by step tutorial somewhere that can explain adding media player support in Sitefinity Project.
There is no clear way to do that.
Even telerik documentation is very confusing.
0
Ivan Dimitrov
Telerik team
answered on 10 Nov 2011, 09:02 AM
Hello Abhishek,

You can take a look at the following articles at MSDN


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
Tags
MediaPlayer
Asked by
peter shitote
Top achievements
Rank 1
Answers by
Ivan Dimitrov
Telerik team
peter shitote
Top achievements
Rank 1
Abhishek
Top achievements
Rank 1
Share this question
or