Closed erikandershed closed 7 years ago
What color is this in that view? https://codepen.io/anon/pen/xEdwop
If it's green, then IIV is disabled and playsinline
should work natively.
If it's red, either look into how to enable playsinline
in your WKWebView or verify that the video element has an IIV
class. If not, you're probably not running IIV correctly.
sweet function! It's red for me. How is do I enable the playinline in my WKWebView?
I'm not an iOS developer so Google might be more helpful
I have google it like for ever.. there is no help. Do you know anyone how can help me?
StackOverflow
@erikandershed
<preference name="AllowInlineMediaPlayback" value="true" />
Will it work in a WKwebview on ios10. Because I can't get the playinline or autoplay to work. Even if it work in safari it will not work in WKwebview.
Please help.