-
-
Save SwiftArchitect/af2c6505838d2620400639f5fb2bcf8c to your computer and use it in GitHub Desktop.
Embedding Vimeo Videos using WebView on Android
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Auto playing vimeo videos in Android webview | |
mWebView.getSettings().setJavaScriptEnabled(true); | |
mWebView.getSettings().setAppCacheEnabled(true); | |
mWebView.getSettings().setDomStorageEnabled(true); | |
mWebView.loadUrl("http://player.vimeo.com/video/xxxxxxxx"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment