I like to add my own buttons in the toolbar, for example to open new Windows, add more text to the description, specify if I like or dislike the picture.
Hi Jibin,
The link I provided used to point to a code library, but during our migration from code libraries to our knowledge base section in the docs, we kept only the most popular ones, so unfortunately this solution isn't available anymore. <telerik:RadMediaPlayer RenderMode="Lightweight" ID="RadMediaPlayer1" runat="server" AutoPlay="true"
Height="360px" Width="640px">
<PlaylistSettings YouTubePlaylist="PLvmaC-XMqeBZWVHkPVGi6Q43J-nGQxUPw" Mode="Buttons" ButtonsTrigger="MouseDown" />
</telerik:RadMediaPlayer>
<asp:ImageButton runat="server" ID="ImageButton1" ImageUrl="~/Common/Images/logo.png" Width="20px" Height="20px" BorderStyle="Dotted" BorderWidth="1"/>
<script>
function pageLoad(app, args) {
$(".rmpRightControlsSet").append($get('<%= ImageButton1.ClientID %>'));
}
</script>
This script appends a custom button (ImageButton1) to the right controls of the RadMediaPlayer.
Regards,
Rumen
Progress Telerik
Hi Jorge,
You can use as a base the solution provided in this code library - https://www.telerik.com/support/code-library/add-print-and-save-buttons-in-radimagegallery-toolbar.
Regards,
Rumen
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.