Seeking problem

8 posts, 0 answers
  1. Ramin Aminloo
    Ramin Aminloo avatar
    35 posts
    Member since:
    Dec 2009

    Posted 09 Mar 2010 Link to this post

    We are having seek problem. Although the stream server allows seeking, the Telerik media player will freeze if manually seek forward. Please help.
  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 10 Mar 2010 Link to this post

    Hi Martin Herrman,

    Can you please download the current beta version of the media player and let us know if the problem is still reproducible. If so - can you send us the url of the stream that you are using.

    Thanks!

    Regards,
    Valentin.Stoychev
    the Telerik team

    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 Public Issue Tracking system and vote to affect the priority of the items.
  3. DevCraft banner
  4. Ramin Aminloo
    Ramin Aminloo avatar
    35 posts
    Member since:
    Dec 2009

    Posted 10 Mar 2010 Link to this post

    Valentin,

    Where is the beta download? Also, our mms urls are internal and it is not public.

    Thanks
  5. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 11 Mar 2010 Link to this post

    Hi Martin Herrman,

    The Q1.2010 release is now official - you can download it from your account.

    Greetings,
    Valentin.Stoychev
    the Telerik team

    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 Public Issue Tracking system and vote to affect the priority of the items.
  6. Ramin Aminloo
    Ramin Aminloo avatar
    35 posts
    Member since:
    Dec 2009

    Posted 11 Mar 2010 Link to this post

    Hi,

    New version did not work and I think now I start having bigger problem than before. Seeking does not work using telerik and will cause the freezing. I have to kill the browser. I am able to use windows media and be able to seek forward or backward.

    I can't autoplay the video.

    RadMediaPlayer1.SelectedIndex = 0;




    and I have only one item in my media list



                RadMediaPlayer1.SelectedIndex = -1;
                if (e.Result.Count == 0)
                    return;

                var items = e.Result;
                ObservableCollection<RadMediaItem> itemsSource = new ObservableCollection<RadMediaItem>();

                foreach (OnlineTraining item in items)
                {
                    RadMediaItem media = new RadMediaItem();

                    media.Source = new Uri(item.FileName, UriKind.RelativeOrAbsolute);
                    media.Title = item.Title;
                    media.Header = item.Title;
                    media.Description = item.Description;
                    media.VideoStretch = Stretch.None;
                    media.IsStreamingSource = true;
                    QuizID = item.QuizID;
                    AllowBackward = item.AllowBackward;
                    AllowForward = item.AllowForward;
                    AllowPause = item.AllowPause;
                    AllowSeek = item.AllowSeek;

                    media.ImageSource = new System.Windows.Media.Imaging.BitmapImage(new Uri(item.ImageSource, UriKind.RelativeOrAbsolute));
                    ObservableCollection<Chapter> chapters = item.Chapters;
                    foreach (Chapter chap in chapters)
                    {
                        RadMediaChapter chapter = new RadMediaChapter();
                        string[] timespan = chap.Position.Split(':');
                        chapter.Position = new TimeSpan(Convert.ToInt32(timespan[0]), Convert.ToInt32(timespan[1]), Convert.ToInt32(timespan[2]));

                        chapter.Content = chap.Title;
                        chapter.Tag = chap.ChapterID.ToString();
                        media.Items.Add(chapter);
                    }

                    
                    itemsSource.Add(media);
                    
                    RadMediaPlayer1.SelectedItem = media;
                }
                RadMediaPlayer1.ItemsSource = itemsSource;
                RadMediaPlayer1.SelectedIndex = 0;


  7. Miro Miroslavov
    Admin
    Miro Miroslavov avatar
    588 posts

    Posted 12 Mar 2010 Link to this post

    Hello Martin Herrman,

    You can use RadMediaPlayer in two different ways:
    • set ItemsSource to collection of custom obects - you need to provide DataTemplate to be used for the items that will be created. See example here.
    • or add RadMediaItems to the Items collection. See example here.
    In the snipped you provide you should go with Items collection and not ItemsSource.
    About seeking - the RadMediaPlayer is wrapper around the standard Silverlight MediaElement, so it's about if the MediaElement support it. Can you please give us the url to the video so we can test it?
    Regards,
    Miro Miroslavov
    the Telerik team

    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 Public Issue Tracking system and vote to affect the priority of the items.
  8. Ramin Aminloo
    Ramin Aminloo avatar
    35 posts
    Member since:
    Dec 2009

    Posted 12 Mar 2010 Link to this post

    The URL is internal and its something like this:

    mms://hortensia.ad.ocsd.local:8081/xyz.wmv
  9. Miro Miroslavov
    Admin
    Miro Miroslavov avatar
    588 posts

    Posted 15 Mar 2010 Link to this post

    Hello Martin Herrman,

    Thank you for the details. Silverlight MediaElement actually doesn't support "real" streaming even when using with mms (it'll fallback to http) - more on this here, this means that when seeking you have to wait for http downloading the video and etc. Windows Media Player won't fallback and this way you'll have real streaming. If you need real streaming you can think of using Smooth Streaming media, which is supported by RadMediaPlayer.
    If you have further questions please contact us.

    Greetings,
    Miro Miroslavov
    the Telerik team

    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 Public Issue Tracking system and vote to affect the priority of the items.
Back to Top
DevCraft banner