Android Question Play google drive video in webview

fasilosman

Active Member
Licensed User
Longtime User
Dear all,

I tried to play a video which is in my google drive view web view. The video is showing (thumbnail) but, when I click play, it is no playing. (shows video length - time)
I tried addWebChromeClient, enable javascript etc..

Any one have an idea to solve this please.

Thanks in advance
 

Attachments

  • Screenshot_20210704-010017.jpg
    Screenshot_20210704-010017.jpg
    72.4 KB · Views: 175

JohnC

Expert
Licensed User
Longtime User
I too have a need to do this, but it seems like most solutions actually "download" the video file first, THEN play it.

I found this solution that seems to actually configure the google drive video file to "stream" instead of downloading, so it would play quicker:

 
Upvote 0

MarcoRome

Expert
Licensed User
Longtime User
I too have a need to do this, but it seems like most solutions actually "download" the video file first, THEN play it.

I found this solution that seems to actually configure the google drive video file to "stream" instead of downloading, so it would play quicker:


I've done some tests. Make a download anyway (if you try to run the link on the browser it proposes the download).
However, it has the advantage (using the key) of being able to view movies over 100Mb.
 
Upvote 0
Top