Plyr: Add playsinline / webkit-playsinline property to play video inline (NOT FULLSCREEN) on mobile (ios)

Created on 17 Jan 2017  ยท  10Comments  ยท  Source: sampotts/plyr

Since now ios 10 supports the playsinline attribute
and there is already a library iphone-inline-video that is used as polyfill for lower ios 8 & 9

do you think is possibile to add this as a new great feature? :)

  • [x] Improvement

Relevant links

https://webkit.org/blog/6784/new-video-policies-for-ios/
http://walterebert.com/blog/html5-video-autoplay-mobile-revisited/
http://stackoverflow.com/questions/30855662/inline-html5-video-on-iphone

Improvement

Most helpful comment

I've actually added this in my changes in develop but everything is still WIP and the UI needs some tweaks at such a small size. I probably won't bother supporting it on iOS 8 and 9 though - just a heads up.

Also included is PiP support for Safari and Airplay. I'm still probably 60% way through the changes though but hope to get it out ASAP as I'm getting pestered from all angles.

image

All 10 comments

If I remember correctly, adding "playsinline" to the video tag works great, but the look and feel of the plyr player is not working.

I've actually added this in my changes in develop but everything is still WIP and the UI needs some tweaks at such a small size. I probably won't bother supporting it on iOS 8 and 9 though - just a heads up.

Also included is PiP support for Safari and Airplay. I'm still probably 60% way through the changes though but hope to get it out ASAP as I'm getting pestered from all angles.

image

Awesome!

11 maj 2017 kl. 01:33 skrev Sam Potts notifications@github.com:

I've actually added this in my changes in develop but everything is still WIP and the UI needs some tweaks at such a small size:

โ€”
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Awesome,
So now I can use playsinline by add "playsinline" to my youtube tag.
I have tried but I think I have some mistake.
How I can add playsinline to my youtube video?

Not yet. It's still in progress. I'm getting there. Good things come to those who wait ๐Ÿ‘

Great! I 'm waiting the your awesome features ๐Ÿ‘

Nice work guys! Do you know when we'll have the ability to see the UI on iOs phones? Inline works perfectly, just missing the UI ๐Ÿ‘Š

Thanks!

+1

Closing this one as I think it's fixed but feel free to re-open if not solved in v3 ๐Ÿ‘

When you say it's fixed, how would one use it today?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

onigetoc picture onigetoc  ยท  3Comments

ahmadshc picture ahmadshc  ยท  3Comments

muuvmuuv picture muuvmuuv  ยท  3Comments

sparkktv picture sparkktv  ยท  4Comments

TheZoker picture TheZoker  ยท  4Comments