blob: 6cceabdd0da77adecda33b2a78d62744c30a7b8c [file] [log] [blame]
This tests the ability of the SourceBuffer to detect the movie fragment duration from a 'mvex' header.
RUN(video.src = URL.createObjectURL(source))
EVENT(sourceopen)
RUN(sourceBuffer = source.addSourceBuffer(loader.type()))
RUN(sourceBuffer.appendBuffer(loader.initSegment()))
EVENT(update)
EXPECTED (video.duration == '10') OK
END OF TEST