7 Answers, 1 is accepted
0
Accepted
Hello Herve,
RadMediaPlayer exposes its MediaElement through the MediaElement property. You can use this MediaElement property to set a buffering time.
For example:
I have attached a sample XAML page and its code-behind that demonstrate the above functionality.
Let me know how this works for you!
Greetings,
Kiril Stanoev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
RadMediaPlayer exposes its MediaElement through the MediaElement property. You can use this MediaElement property to set a buffering time.
For example:
private void mediaPlayer1_Loaded(object sender, RoutedEventArgs e) |
{ |
this.mediaPlayer1.MediaElement.BufferingTime = TimeSpan.FromSeconds(5); |
} |
I have attached a sample XAML page and its code-behind that demonstrate the above functionality.
Let me know how this works for you!
Greetings,
Kiril Stanoev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
herve
Top achievements
Rank 1
answered on 24 Nov 2008, 08:53 AM
May i call you master? :)
works like a charm!
thx a lot
works like a charm!
thx a lot
0
Amit Gupta
Top achievements
Rank 1
answered on 07 Oct 2009, 08:28 PM
Hi. setting bufferingtime in xaml (<
telerik:RadMediaItem BufferingTime="5"...) doesnt seem to work (it keeps buffering forever; never plays)... Can BufferingTime have to be set in code behind only?
0
Hello Amit,
By setting BufferingTime="5" you actually say that the BufferingTime is 5 hours, 0 minutes and 0 seconds.
If you want to set the BufferingTime to 5 seconds, you need to do the following:
BufferingTime="0:0:5"
Let me know how it works for you.
Regards,
Kiril Stanoev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
By setting BufferingTime="5" you actually say that the BufferingTime is 5 hours, 0 minutes and 0 seconds.
If you want to set the BufferingTime to 5 seconds, you need to do the following:
BufferingTime="0:0:5"
Let me know how it works for you.
Regards,
Kiril Stanoev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Amit Gupta
Top achievements
Rank 1
answered on 08 Oct 2009, 07:00 PM
Works like a charm; Thank you!
0
Edo Cof
Top achievements
Rank 1
answered on 21 May 2010, 07:08 PM
The RadMediItem should check if buffer is set to more then Video time it should automatically set it to maximum.
So it could never happened that play is never execute.
So it could never happened that play is never execute.
0
Hi Edo Cof,
You're correct. We will fix this for next releases.
Thank you.
All the best,
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.
You're correct. We will fix this for next releases.
Thank you.
All the best,
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.