Can't Play Videos MP4 Format Videos

4 posts, 0 answers
  1. Xuefeng
    Xuefeng avatar
    2 posts
    Member since:
    Nov 2011

    Posted 20 Jul 2015 Link to this post

    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>​

     

  2. Eyup
    Admin
    Eyup avatar
    3015 posts

    Posted 23 Jul 2015 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Xuefeng
    Xuefeng avatar
    2 posts
    Member since:
    Nov 2011

    Posted 23 Jul 2015 in reply to Eyup Link to this post

    video tag is OK!

    but using MediaPlayer control is NOT OK!

    MIME Type mp4 have been added in web.config file

  5. Eyup
    Admin
    Eyup avatar
    3015 posts

    Posted 24 Jul 2015 Link to this post

    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
Back to Top