Reputation: 4792
I am using below js
for display inline video in ios with ionic that is working perfectly.
but with that project i am using themeable browser
plugin for display external links once i open themeable browser video player stopped working inline. They start playing in fullscreen.
Upvotes: 0
Views: 250
Reputation: 111
You have to add one line in DidStartLoad function in below file.
platforms->ios->appName->Plugins->cordova-plugin-themeablebrowser->CDVThemeableBrowser.m
- (void)webViewDidStartLoad:(UIWebView*)theWebView
{
theWebView.allowsInlineMediaPlayback = YES;
}
Hope that will work for you.
Upvotes: 0