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

Can't Play Videos MP4 Format Videos

3 Answers 36 Views
MediaPlayer
This is a migrated thread and some comments may be shown as answers.
Xuefeng
Top achievements
Rank 1
Xuefeng asked on 20 Jul 2015, 08:15 AM

My File is MP4 Format,video codec is h264,audio is aac,but MediaPlayer control can't play the video,IE11,Chrome Firefox browser is NOT OK!

Please let me know if I have to do any settings in my machine/application!

My Code is:

<telerik:RadMediaPlayer ID="RadMediaPlayer1" runat="server" AutoPlay="True" Source="~/Video/test2.mp4"></telerik:RadMediaPlayer>​

 

3 Answers, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 23 Jul 2015, 08:14 AM
Hello Xuefeng,

Could you verify that the video plays with default <video> tag?
http://www.w3schools.com/html/html5_video.asp

You can also add mimeType settings to your web.config file:
http://docs.telerik.com/devtools/aspnet-ajax/controls/mediaplayer/getting-started

Looking forward to your reply.

Regards,
Eyup
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
0
Xuefeng
Top achievements
Rank 1
answered on 23 Jul 2015, 02:04 PM

video tag is OK!

but using MediaPlayer control is NOT OK!

MIME Type mp4 have been added in web.config file

0
Eyup
Telerik team
answered on 24 Jul 2015, 07:41 AM
Hello Xuefeng,

I've created a sample web site to test the described behavior. On my side the video is successfully playing on all browsers. Could you run the attached web site and let me know about the result?

Regards,
Eyup
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
Xuefeng
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Xuefeng
Top achievements
Rank 1
Share this question
or