# 无法实现视频全屏，需要HTML标签吗？

**URL:** <https://meta.discourse.org/t/impossible-to-have-full-screen-from-video-html-tag-is-needed/130975>\
**Category:** Support\
**Created:** [2019年十月14日 17:47 UTC](https://meta.discourse.org/t/impossible-to-have-full-screen-from-video-html-tag-is-needed/130975 "2019-10-14T17:47:55Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![aldobelus](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@aldobelus](https://meta.discourse.org/u/aldobelus)\
**Post date:** [2019年十月18日 18:52 UTC](https://meta.discourse.org/t/impossible-to-have-full-screen-from-video-html-tag-is-needed/130975/5 "2019-10-18T18:52:15Z")

</div>

这段代码在 Discourse Core 中可能仍然无法工作？

> <https://github.com/discourse/discourse/commit/d93586c63f257b658fc72e4f9e4edbd1276a140f>
>
> Adding this to core allows showing the fullscreen button on external iframe vide…os like Vimeo.
> https://meta.discourse.org/t/full-screen-videos-plugin/90869 will not be needed anymore.

我所询问的问题在此处或类似主题中已有评论：

> [@Full screen videos plugin](https://meta.discourse.org/t/full-screen-videos-plugin/90869):
>
> When you embed a video via iframe from Vimeo, Kaltura, or MS Stream, the embed code requires a few html attributes that make it possible to view the videos in full-screen mode. However, those attributes are stripped from the iframe code during the cooking process. This plugin whitelists the attributes required to allow full-screen buttons and capabilities. I should also note that in order for this to work, you’ll need to add the source domain for these iframes to the allowed iframes site settin…

---

_[View the full topic](https://meta.discourse.org/t/impossible-to-have-full-screen-from-video-html-tag-is-needed/130975)._
