Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
New to Telerik UI for ASP.NET AJAX? Download free 30-day trial
This demo demonstrates how to load subtitles in RadMediaPlayer.
In order to show subtitles in the video the Subtitles property should be set to point to valid file that contain the subtitle script.
<%@ Page Language="vb" AutoEventWireup="false" %> <%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %> <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> <!DOCTYPE html> <html xmlns='http://www.w3.org/1999/xhtml'> <head runat="server"> <title>Telerik ASP.NET Example</title> <style type="text/css"> .size-custom { width: 640px; } </style> </head> <body> <form id="form1" runat="server"> <telerik:RadScriptManager runat="server" ID="RadScriptManager1" /> <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" /> <div class="demo-container size-custom"> <telerik:RadMediaPlayer RenderMode="Lightweight" runat="server" ID="RadMediaPlayer1" AutoPlay="true" Height="360px" Width="640px" Source="https://www.youtube.com/watch?v=P0ZZ9T_c7lU" Subtitles="demoSubtitles.srt"> </telerik:RadMediaPlayer> </div> </form> </body> </html>