# La vidéo onebox de Twitter ne passe pas en plein écran sur iOS

**URL:** https://meta.discourse.org/t/twitter-onebox-video-not-going-full-screen-on-ios/106858
**Category:** Bug
**Created:** [Janvier 17, 2019, 11:10 UTC](https://meta.discourse.org/t/twitter-onebox-video-not-going-full-screen-on-ios/106858 "2019-01-17T23:10:31Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![ChrisBeach](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisbeach/32/214628_2.png) [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)
#### Post date: [Janvier 17, 2019, 11:10 UTC](https://meta.discourse.org/t/twitter-onebox-video-not-going-full-screen-on-ios/106858/1 "2019-01-17T23:10:32Z")

</div>

Continuing the discussion from [Twitter Onebox prevents video from going full screen](https://meta.discourse.org/t/twitter-onebox-prevents-video-from-going-full-screen/92579):

I think this issue has recurred. When I click the full screen button, the icon changes but the video stays the same size:

 ![image](https://global.discourse-cdn.com/meta/original/3X/e/7/e7aa1ce6659998b4f5b8a8c01fe290e543454a70.jpeg)

iPhone XS, Discourse native app

---

<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: [Janvier 18, 2019, 6:50 UTC](https://meta.discourse.org/t/twitter-onebox-video-not-going-full-screen-on-ios/106858/2 "2019-01-18T06:50:50Z")

</div>

I’ve added the embedded video from my post that you linked avove, does the video fail to go full screen for you?

I’ve tried the full screen control on mobile and desktop Chrome and it works as expected.

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

What theme and theme components are active?

---

<div class="post-metadata">

### Author: ![ChrisBeach](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisbeach/32/214628_2.png) [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)
#### Post date: [Janvier 18, 2019, 8:13 UTC](https://meta.discourse.org/t/twitter-onebox-video-not-going-full-screen-on-ios/106858/3 "2019-01-18T08:13:42Z")

</div>

> [@bletch](#):
>
> I’ve added the embedded video from my post that you linked avove, does the video fail to go full screen for you?

Thanks for replying. Yes, that video fails to fullscreen for me on iPhone

---

<div class="post-metadata">

### Author: ![ChrisBeach](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisbeach/32/214628_2.png) [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)
#### Post date: [Janvier 18, 2019, 9:06 UTC](https://meta.discourse.org/t/twitter-onebox-video-not-going-full-screen-on-ios/106858/4 "2019-01-18T09:06:02Z")

</div>

> [@bletch](#):
>
> What theme and theme components are active?

I tried it in [safe mode](https://meta.discourse.org/t/53504?silent=true) on meta and the video still fails to full screen.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [Janvier 18, 2019, 10:44 UTC](https://meta.discourse.org/t/twitter-onebox-video-not-going-full-screen-on-ios/106858/6 "2019-01-18T10:44:33Z")

</div>

AFAICT it seems twitter has its own video player and when embed in an iframe I think some touch events are not correctly sent to iframe maybe.

So when clicking on full screen this error is triggered:

```plaintext
Cannot record touch end without a touch start.
Touch End: Touch Bank: %s
 – "{\"identifier\":-1425494188,\"pageX\":129,\"pageY\":224,\"timestamp\":1547807906957}" – "[]"
k — TwitterVideoPlayerIframe.9f3fa50c5fbf9f33.js:1:326717
forEach
recordTouchTrack — TwitterVideoPlayerIframe.9f3fa50c5fbf9f33.js:1:328997
extractEvents — TwitterVideoPlayerIframe.9f3fa50c5fbf9f33.js:1:330453
E — TwitterVideoPlayerIframe.9f3fa50c5fbf9f33.js:1:225571
Wr — TwitterVideoPlayerIframe.9f3fa50c5fbf9f33.js:1:301445
Oe — TwitterVideoPlayerIframe.9f3fa50c5fbf9f33.js:1:233786
batchedUpdates — TwitterVideoPlayerIframe.9f3fa50c5fbf9f33.js:1:269686
Z — TwitterVideoPlayerIframe.9f3fa50c5fbf9f33.js:1:229783
Ae — TwitterVideoPlayerIframe.9f3fa50c5fbf9f33.js:1:234235
Ae
k — TwitterVideoPlayerIframe.9f3fa50c5fbf9f33.js:1:326717

```

I’m not sure we can fix this.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [Janvier 18, 2019, 12:45 UTC](https://meta.discourse.org/t/twitter-onebox-video-not-going-full-screen-on-ios/106858/7 "2019-01-18T12:45:58Z")

</div>

It works fine on Android.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [Janvier 18, 2019, 12:46 UTC](https://meta.discourse.org/t/twitter-onebox-video-not-going-full-screen-on-ios/106858/8 "2019-01-18T12:46:48Z")

</div>

Interesting, might be some safari specific security things with iframe then. Maybe CSP related.

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [Janvier 18, 2019, 3:38 UTC](https://meta.discourse.org/t/twitter-onebox-video-not-going-full-screen-on-ios/106858/9 "2019-01-18T15:38:48Z")

</div>

That video also fails to go to fullscreen on Safari iOS when I put the iframe code in a codepen: [https://codepen.io/anon/pen/NeZzGQ](https://codepen.io/anon/pen/NeZzGQ), so Joffrey’s right, it doesn’t look like we can fix this.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [Janvier 18, 2019, 10:33 UTC](https://meta.discourse.org/t/twitter-onebox-video-not-going-full-screen-on-ios/106858/10 "2019-01-18T22:33:47Z")

</div>


