locked
Unable to Play Media File in “Chrome” with Media Element RRS feed

  • Question

  • Hi,

    I’m using Media Element for playing media file in Silverlight Application (Built on MVVM). I found two errors while playing in Google “Chrome” browser.

    1.Media Element unable to play some media file (MP3 file) in “Chrome” where as in IE it’s playing.

    2.Media Element gives two different “Total Duration” values [MediaOpened event] in debugging mode ( file type is MP3);

    (TotalDuration = MediaElement.NaturalDuration.TimeSpan.TotalMilliseconds;)

    In IE “Total Duration” value is: 257131.0
    In Chrome “Total Duration” Value is: 268435188.0

    I’ve Bind the Progress Control with “Total Duration” property. So, in chrome media progressing is not working due to its value.

    Could you be please suggest me how do I overcome these errors?

    Thanks in advance for your valuable suggestion.

    Best Regards,

    DG

    Tuesday, July 26, 2011 8:32 AM

Answers