{
  "meta": {
    "canonicalUrl": "https://timetostable.com/feature/api.HTMLMediaElement.canPlayType",
    "bcdVersion": "8.1.11",
    "webFeaturesVersion": "3.48.0"
  },
  "kind": "bcd",
  "bcdFeature": {
    "id": "api.HTMLMediaElement.canPlayType",
    "cat": "api",
    "mdn": "API/HTMLMediaElement/canPlayType",
    "spec": "https://html.spec.whatwg.org/multipage/media.html#dom-navigator-canplaytype-dev",
    "st": 1,
    "wf": "audio",
    "bl": "high",
    "bld": 16645,
    "s": {
      "chrome": {
        "v": "3",
        "d": 14502
      },
      "firefox": {
        "v": "3.5",
        "d": 14425
      },
      "safari": {
        "v": "4",
        "d": 14403
      },
      "edge": {
        "v": "12",
        "d": 16645
      },
      "chrome_android": {
        "v": "18",
        "d": 15518
      },
      "firefox_android": {
        "v": "4",
        "d": 15062
      },
      "safari_ios": {
        "v": "3",
        "d": 14412
      },
      "webview_android": {
        "v": "4.4",
        "d": 16048
      },
      "webview_ios": {
        "v": "3",
        "d": 14412
      },
      "samsunginternet_android": {
        "v": "1.0",
        "d": 15822
      },
      "opera": {
        "v": "12.1",
        "d": 15664,
        "le": 1
      },
      "opera_android": {
        "v": "12.1",
        "d": 15622,
        "le": 1
      },
      "oculus": {
        "v": "5.0",
        "d": 17713
      },
      "ie": {
        "v": "9",
        "d": 15047
      }
    },
    "notes": [
      {
        "t": "<code>codecs</code> string can contain any subset of optional parameters (should be all or none).",
        "b": [
          "chrome",
          "edge",
          "chrome_android",
          "webview_android",
          "samsunginternet_android",
          "opera",
          "opera_android",
          "oculus"
        ]
      },
      {
        "t": "Errors if <code>codecs</code> string contains unexpected characters (should evaluate string up to character).",
        "b": [
          "chrome",
          "edge",
          "chrome_android",
          "webview_android",
          "samsunginternet_android",
          "opera",
          "opera_android",
          "oculus"
        ]
      },
      {
        "t": "Before Firefox 28, <code>canPlayType()</code> returned <code>probably</code> when asked about WebM audio or video files without the <code>codecs</code> parameter. Since multiple codecs are supported, this is not enough information to determine if a file can be played, so <code>maybe</code> is now correctly returned.",
        "b": [
          "firefox"
        ]
      },
      {
        "t": "Before Firefox 101, <code>canPlayType()</code> ignored <code>codecs</code> parameter options for <code>av01</code> codecs (treating them as <code>av1</code>).",
        "b": [
          "firefox"
        ]
      },
      {
        "t": "Before Firefox for Android 28, <code>canPlayType()</code> returned <code>probably</code> when asked about WebM audio or video files without the <code>codecs</code> parameter. Since multiple codecs are supported, this is not enough information to determine if a file can be played, so <code>maybe</code> is now correctly returned.",
        "b": [
          "firefox_android"
        ]
      },
      {
        "t": "Before Firefox for Android 101, <code>canPlayType()</code> ignored <code>codecs</code> parameter options for <code>av01</code> codecs (treating them as <code>av1</code>).",
        "b": [
          "firefox_android"
        ]
      }
    ]
  },
  "webFeature": {
    "id": "audio",
    "name": "<audio>",
    "description": "The <audio> element plays sound such as audio effects or music, optionally with controls provided by the browser.",
    "group": "media-elements",
    "groupName": "Media elements",
    "spec": "https://html.spec.whatwg.org/multipage/media.html#audio",
    "baseline": "high",
    "baselineLowDate": "2015-07-29",
    "baselineLowDay": 16645,
    "baselineHighDate": "2018-01-29",
    "compatCount": 60,
    "cats": [
      "api",
      "html"
    ],
    "compatKeysSample": [
      "api.HTMLAudioElement",
      "api.HTMLAudioElement.Audio",
      "api.HTMLMediaElement",
      "api.HTMLMediaElement.abort_event",
      "api.HTMLMediaElement.autoplay",
      "api.HTMLMediaElement.buffered",
      "api.HTMLMediaElement.canPlayType",
      "api.HTMLMediaElement.canplay_event",
      "api.HTMLMediaElement.canplaythrough_event",
      "api.HTMLMediaElement.controls",
      "api.HTMLMediaElement.crossOrigin",
      "api.HTMLMediaElement.currentSrc",
      "api.HTMLMediaElement.currentTime",
      "api.HTMLMediaElement.defaultMuted",
      "api.HTMLMediaElement.defaultPlaybackRate",
      "api.HTMLMediaElement.duration",
      "api.HTMLMediaElement.durationchange_event",
      "api.HTMLMediaElement.emptied_event",
      "api.HTMLMediaElement.ended",
      "api.HTMLMediaElement.ended_event",
      "api.HTMLMediaElement.error",
      "api.HTMLMediaElement.error_event",
      "api.HTMLMediaElement.load",
      "api.HTMLMediaElement.loadeddata_event",
      "api.HTMLMediaElement.loadedmetadata_event"
    ],
    "s": {
      "chrome": {
        "v": "3",
        "d": 14502
      },
      "chrome_android": {
        "v": "18",
        "d": 15518
      },
      "edge": {
        "v": "12",
        "d": 16645
      },
      "firefox": {
        "v": "3.5",
        "d": 14425
      },
      "firefox_android": {
        "v": "4",
        "d": 15062
      },
      "safari": {
        "v": "3.1",
        "d": 13956
      },
      "safari_ios": {
        "v": "3",
        "d": 14412
      }
    }
  }
}