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

How can I set mediaplayer to play during ..

1 Answer 47 Views
MediaPlayer
This is a migrated thread and some comments may be shown as answers.
Sebastian
Top achievements
Rank 1
Sebastian asked on 28 May 2015, 01:57 PM
How can I set mediaplayer to play at a certain time?

I've loaded an hour long clip and now I'm trying to set the time:

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

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 02 Jun 2015, 06:43 AM
Hi Sebastian,

The approach you are using should work as expected. You can use the ItemSelected event of a RadDropDownList to set the start time of a video.

I am attaching a sample project that works as expected on my end. Give it a try and let me know how it works for you.

Regards,
Viktor Tachev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
MediaPlayer
Asked by
Sebastian
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or