How can we play YouTube embeded code in an Android application using webview?
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
Hi if you get a blackscreen maybe make sure that you enable plugins
Check out the following SO post: How to embed a YouTube clip in a WebView on Android
Try the following code which may help you. I just framed it for your reference
Refer the following link for how to use Webview: http://developer.android.com/reference/android/webkit/WebView.html
Add WebView in XML File
And in Java File
For Tutorial:
How to embed youtube video in android
Android WebVew tutorial with example