How widely supported is the iframe attribute “allowfullscreen”?

∥☆過路亽.° 提交于 2019-12-05 01:22:09

I've started discovering some of my own answers:

FireFox: Added support in v18 (January 8, 2013) - Source
Chrome: Added support in v27 (May 22, 2013) - Source
Safari: Added support in v7 (October 22, 2013) - Source
Internet Explorer: Added support in v11
Microsoft Edge: Supported

It seems to be difficult to find detailed release notes for the other three, unfortunately.

dakab

There’s a website dedicated to this attribute: http://www.allowfullscreen.com/. It's not very good, however.

While MSDN has only a rudimental entry, MDN provides a support table in their iframe doc:

  • FF: 18
  • Chrome: 17 (webkitallowfullscreen)
  • IE: no support
  • Safari: prefix support
  • Opera: supported

Looks like this attribute is part of the HTML 5.1 specification. This WC3 implementation report claims support in all browsers, so

<iframe allowfullscreen>

(with no vendor prefixes) should work as of September 2016. Note the report actually links to the MDN chart that has been mentioned in a previous answer and indicates mobile browser support is currently less certain.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!