playing any embedded video in webview in Android with intent -


basically, i'm building small webview application using kotlin. website targeting doesn't supply direct links videos trying match uri through shouldoverrideurlloading function doesn't work. i've tried use setdownloadlistener() can't seem work in kotlin whatever reason. there other webviewclient/chromeviewclient function need override sort of functionality work?

i can video play in html5/flash browser on page want able send intent mxplayer or default android video player. i've looked around stack overflow haven't found quite need.

any appreciated.

edit: been 2 years since i've worked android outside of xamarin , i'm using way of learning kotlin. many of webview settings setpluginstate seem depreciated feel little lost atm.


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -