# IOS playsinline support issue

**URL:** <https://community.wowza.com/t/ios-playsinline-support-issue/54309>\
**Category:** Wowza Player\
**Created:** [December 11, 2019, 2:01am UTC](https://community.wowza.com/t/ios-playsinline-support-issue/54309 "2019-12-11T02:01:53Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Young\_Sam\_Seo](https://avatars.discourse-cdn.com/v4/letter/y/7993a0/32.png) [@Young\_Sam\_Seo](https://community.wowza.com/u/Young_Sam_Seo)\
**Post date:** [December 11, 2019, 2:01am UTC](https://community.wowza.com/t/ios-playsinline-support-issue/54309/1 "2019-12-11T02:01:53Z")

</div>

In iOS, the wowza player is played in full screen.

This is because the playsinline option cannot be set in the video tag.

Add playsinline within video tag when creating wowza player When modifying some scripts in the wowzaplayer.js file, it was confirmed that they run normally within the webpage rather than fullscreen.

Fix source -----------------

Add 27 line to the file

, r.mediaElement.setAttribute (“playsinline”, “true”), r.mediaElement.setAttribute (“webkit-playsinline”, “true”)

Add 48 line to the file

, this.mediaElement.setAttribute (“playsinline”, “playsinline”), this.mediaElement.setAttribute (“webkit-playsinline”, “webkit-playsinline”)

---

<div class="post-metadata">

**Author:** ![Amara\_Graham](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/amara_graham/32/381_2.png) [@Amara\_Graham](https://community.wowza.com/u/Amara_Graham)\
**Post date:** [December 11, 2019, 3:18pm UTC](https://community.wowza.com/t/ios-playsinline-support-issue/54309/2 "2019-12-11T15:18:54Z")

</div>

I’ve let the product team know your feedback, but its our understanding this this is a design choice Apple made to play video full screen in iOS.

We recommend creating a custom app to achieve this functionality today.

---

<div class="post-metadata">

**Author:** ![Andrew\_Irving](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@Andrew\_Irving](https://community.wowza.com/u/Andrew_Irving)\
**Post date:** [December 30, 2019, 6:00pm UTC](https://community.wowza.com/t/ios-playsinline-support-issue/54309/3 "2019-12-30T18:00:32Z")

</div>

@AmaraGraham Apple’s default behaviour of handing off playback of video embedded in browsers on iOS devices to the native iOS video player, forcing fullscreen playback, can cause challenges in certain scenarios. Sure, it’s Apple’s design choice but your devs have the power to affect/change the behaviour. The way it is, I don’t use WC for a number of my events due to having simple built-in workarounds on other platforms.

As Young Sam Seo noted, adding his code and a toggle switch to enable/disable the ‘playsinline’ attribute would be greatly appreciated. It would improve my workflow and bring Wowza Cloud back into the workflow for some of my events.

---

<div class="post-metadata">

**Author:** ![Ndbfb\_Nwnxjw](https://avatars.discourse-cdn.com/v4/letter/n/858c86/32.png) [@Ndbfb\_Nwnxjw](https://community.wowza.com/u/Ndbfb_Nwnxjw)\
**Post date:** [December 30, 2019, 7:03pm UTC](https://community.wowza.com/t/ios-playsinline-support-issue/54309/4 "2019-12-30T19:03:29Z")

</div>

As Young Sam Seo noted, adding his code and a toggle switch to enable/disable the ‘playsinline’ attribute would be greatly appreciated. It would improve my workflow and bring Wowza Cloud back into the workflow for some of my events

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [December 30, 2019, 7:17pm UTC](https://community.wowza.com/t/ios-playsinline-support-issue/54309/5 "2019-12-30T19:17:23Z")

</div>

Thank you @Andrew Irving and @Ndbfb Nwnxjw for the feedback and I have submitted it as a feature request to the Player team.

---

<div class="post-metadata">

**Author:** ![Andrew\_Irving](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@Andrew\_Irving](https://community.wowza.com/u/Andrew_Irving)\
**Post date:** [December 30, 2019, 10:22pm UTC](https://community.wowza.com/t/ios-playsinline-support-issue/54309/6 "2019-12-30T22:22:33Z")

</div>

Thanks, Rose. Looks like a bot reposted some of my comment.

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [December 30, 2019, 10:54pm UTC](https://community.wowza.com/t/ios-playsinline-support-issue/54309/7 "2019-12-30T22:54:01Z")

</div>

Yeah that’s weird. I’ll keep an eye on that. Thanks!
