Issue
I have work so many time with the webview with in Android app. But this time I got strange issue with loading YouTube video in to WebView.
See, this is the screen shot of YouTube video loaded in Chrome browser, which have full screen option in it.
Now, below is the screen shot of my app in which I have loaded same video in webview. But it is not having that full screen option.
You can see the changes in both the images. Both the screen shots are taken from same device. But still it looks different.
My code for webView loading is in this pasteboard.
Update
I have also seen that the same issue is reported here. But don't know whether is there solution for that available or not.
Solution
iFrame
is an option but you can try this
Android's WebView and WebChromeClient class extensions that enable fully working HTML5 video support
I have not try this yet but hope will help to you.
Answered By - M D
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.