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</
style
type
"text/css"
.size-custom {
width: 640px;
}
</
body
form
id
"form1"
telerik:RadScriptManager
ID
"RadScriptManager1"
/>
telerik:RadSkinManager
"RadSkinManager1"
ShowChooser
"true"
div
class
"demo-container size-custom"
telerik:RadMediaPlayer
RenderMode
"Lightweight"
"RadMediaPlayer1"
AutoPlay
Height
"360px"
Width
"640px"
Source
"https://www.youtube.com/watch?v=P0ZZ9T_c7lU"
Subtitles
"demoSubtitles.srt"