How can I set mediaplayer to play during ..

2 posts, 0 answers
  1. Sebastian
    Sebastian avatar
    2 posts
    Member since:
    Jan 2015

    Posted 28 May 2015 Link to this post

    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");
    }
  2. Viktor Tachev
    Admin
    Viktor Tachev avatar
    1488 posts

    Posted 02 Jun 2015 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top