简体   繁体   English

Telerik媒体播放器

[英]Telerik Media Player

I'm trying to set the Telerik Media player to start at a certain time. 我试图将Telerik Media播放器设置为在特定时间启动。 So for example if a user inputs 10:00 and the clip will play at 10:00 因此,例如,如果用户输入10:00,剪辑将在10:00播放

There's limited documentation on the Media Player, but I found a method called "StartTime" and when I set the clip it'll do a postback but it won't start at the inputted time. Media Player上的文档非常有限,但是我找到了一种名为“ StartTime”的方法,当我设置剪辑时,它将执行回发操作,但不会在输入的时间开始。

 protected void RadTime_ItemSelected(object sender, DropDownListEventArgs e) { MediaPlayer.StartTime = double.Parse("10.00"); } 

根据telerik社区,这绝对是完成我正在尝试的任务的正确方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM