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

YouTube Playlist problem

1 Answer 53 Views
MediaPlayer
This is a migrated thread and some comments may be shown as answers.
Liu
Top achievements
Rank 1
Liu asked on 12 Dec 2016, 09:02 AM

Hi:

I copy those code from local demo on my empty and practice site.

         <telerik:RadMediaPlayer RenderMode="Lightweight" ID="RadMediaPlayer1" runat="server" AutoPlay="true"
            Height="360px" Width="640px">
            <PlaylistSettings YouTubePlaylist="PLvmaC-XMqeBb991YNEWAHYL9ZJAeURr-r" Mode="Buttons" ButtonsTrigger="MouseDown" />
        </telerik:RadMediaPlayer>

but when I run, only media player and other nothig. 

The same code on local demo can run very well, What's happen on my site ?

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 15 Dec 2016, 07:22 AM
Hi Liu,

You will need to generate and add a YouTube playlist key to your web.config file:
http://docs.telerik.com/devtools/aspnet-ajax/controls/mediaplayer/functionality/playlist#youtube-playlist

Regards,
Eyup
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
MediaPlayer
Asked by
Liu
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or