Skip to content Skip to sidebar Skip to footer

What Browsers Currently Implement Support For The Html5 Mediacontroller?

So my Google fu has failed me. Is there a know list of browsers (including beta versions) that support the HTML5 MediaController object?

Solution 1:

No browsers support MediaController.

Safari claims support, but it doesn't work well enough to actually use.

Chrome have removed default support and put it behind an experimental flag. Turns out, it was never properly implemented in Chrome in the first place: it didn't maintain synchronisation, it was simply play/pause/seek both media at the same time and hope for the best. (see https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/MVcoNSPs1UQ/LIF-fvu2lwoJ)

Solution 2:

I know that Safari can control the video object. But I'm not sure if it can use HTML5 MediaController.

See some example in : Safari HTML5 Audio and Video Controller

Solution 3:

You can test support for MediaController using this simple but not perfect code:

functioncheckSupport() {
    if (!("MediaController"inwindow)) {
        return"unsupported";
    }
    var mc = newMediaController();
    if ("onended"in mc) {
        return"supported";
    } else {
        return"partially supported";
    }
}

Or open this fiddle: http://jsfiddle.net/achwedyk/Hk393/

I've tested various browsers and currently (April 2014) only Chrome 34 and Safari 7 partially support MediaController. However there is open bug for missing event handlers: https://bugs.webkit.org/show_bug.cgi?id=94891

Post a Comment for "What Browsers Currently Implement Support For The Html5 Mediacontroller?"