I have encountered a problem with ".mpg" videos. Files are parsed and only after vlcMedia.parsed is true do I try to access vlcMedia.duration. It works great with all file formats except ".mpg" (MPEG codec). If I open the video with VLC Player, the duration shows fine, it's when I try to get it through code that it doesn't work. The duration always returns 0 even if I do _setTimeOuts _ after parsing. Here is the thing, when played, the duration shows up on the WCJS-PLAYER just fine.
I have encountered a problem with ".mpg" videos. Files are parsed and only after
vlcMedia.parsed
is true do I try to accessvlcMedia.duration
. It works great with all file formats except ".mpg" (MPEG codec). If I open the video with VLC Player, the duration shows fine, it's when I try to get it through code that it doesn't work. The duration always returns 0 even if I do _setTimeOuts _ after parsing. Here is the thing, when played, the duration shows up on the WCJS-PLAYER just fine.