Robyn Morris managed to get inline html5 videos play in a framer prototype by slightly modifying Josh Puckett's viewer app!
Excellent! Pull request is welcome!
The old C api actually has a lot of interesting settings for WKWebView. You can check them out here:
Yessssss ship itttt pleeease
Ohhhh man! I need this so much
5094 + this.player.setAttribute('webkit-playsinline', 'true');
In FSMirror viewController.m
15 + @property(nonatomic) BOOL allowsInlineMediaPlayback;16 + @property(nonatomic) BOOL mediaPlaybackRequiresUserAction;74 + _webView.allowsInlineMediaPlayback = YES;75 + _webView.mediaPlaybackRequiresUserAction = NO;
This is now by default enabled in Framer (the webkit-playsinline setting) https://github.com/koenbok/Framer/commit/92b4ee13ddfafcbc01018549b7931b23595298a3
I also added this to Jays Frameless.
Callil Capuozzo are you on the App Store version or are you building the latest from Xcode? App Store hasn't been updated yet. https://github.com/stakes/Frameless
FYI Callil the simulator in Xcode doesn't actually work properly for media playback. It has to be on the phone.
Does anyone have a shared Framer project with this integrated? Love to see this in action.