# Twitter Onebox impedisce al video di andare a schermo intero

**URL:** https://meta.discourse.org/t/twitter-onebox-prevents-video-from-going-full-screen/92579
**Category:** Bug
**Created:** [17 Luglio 2018, 9:46pm UTC](https://meta.discourse.org/t/twitter-onebox-prevents-video-from-going-full-screen/92579 "2018-07-17T21:46:07Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![bletch](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bletch/32/69088_2.png) [@bletch](https://meta.discourse.org/u/bletch)
#### Post date: [17 Luglio 2018, 9:46pm UTC](https://meta.discourse.org/t/twitter-onebox-prevents-video-from-going-full-screen/92579/1 "2018-07-17T21:46:07Z")

</div>

As reported by @steven [here](https://meta.discourse.org/t/onebox-twitter-embedding/18943/33), there appears to be an issue with Onebox handling of embedded videos in Twitter statuses.

The full screen control does not make the video go full screen.

The full screen control responds to the press and changes to be ‘restore to normal size’ but the video does not change size.

To reproduce, play the video in the embedded status below and click full screen.

I first saw the _bug_ in v2.1.0.beta2 +251 - may have been present before.

I am not at my desktop machine so can’t test it on that configuration but the issue is there on mobile chrome on Android.

> <https://twitter.com/discourse/status/983703302184484864>

---

<div class="post-metadata">

### Author: ![bletch](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bletch/32/69088_2.png) [@bletch](https://meta.discourse.org/u/bletch)
#### Post date: [18 Luglio 2018, 3:45pm UTC](https://meta.discourse.org/t/twitter-onebox-prevents-video-from-going-full-screen/92579/3 "2018-07-18T15:45:51Z")

</div>

More information.

The issue is present on desktop too and fails in both Chrome and Firefox.

Chrome shows nothing in the console when refusing to go full screen but Firefox (Dev Ed’n) shows the following message.

 ![image](https://global.discourse-cdn.com/meta/original/3X/4/7/47e34f24bcc59ae6902ad076ef56fc8f037933fb.png)

The initial message on Content Security Policy was present on F5.

The Request for fullscreen… message occurs each time a full screen is requested by pressing the full screen control.

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [19 Luglio 2018, 5:24am UTC](https://meta.discourse.org/t/twitter-onebox-prevents-video-from-going-full-screen/92579/4 "2018-07-19T05:24:29Z")

</div>

Should be fixed via:

[https://github.com/discourse/discourse/commit/14a087965868bc690307f7de6770df887e401592](https://github.com/discourse/discourse/commit/14a087965868bc690307f7de6770df887e401592)

Thanks for debugging @bletch, that really helped. 👍

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [19 Luglio 2018, 12:30pm UTC](https://meta.discourse.org/t/twitter-onebox-prevents-video-from-going-full-screen/92579/5 "2018-07-19T12:30:01Z")

</div>

This topic was automatically closed after 7 hours. New replies are no longer allowed.
