Skip to content

gitawego/cordova-webview-setting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cordova-webview-setting

a plugin for general webview setting:

  • to fix viewport issue: Viewport meta tag ignored in Android 4.4 WebView
  • enable autoplay for video/audio tag, for ios, juste add this line to the config.xml: <preference name="MediaPlaybackRequiresUserAction" value="false"/>

How to use

window.plugin.webviewSetting.set(function(err,status){
   if(err){
     console.error('failed');
   }else{
     console.log('fixed')
   }
});

About

cordova plugin for general webview setting

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published