Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chromecast-ing a WebView?

My current application uses a WebView to display HTML5 & CSS3 content (some animations).

Is it possible to "cast" this WebView to a Chromecast, in effect, mirroring what is displayed on the main device?

like image 661
Mr Pablo Avatar asked Nov 27 '22 08:11

Mr Pablo


1 Answers

This isn't possible as WebView does not implement the Chromecast API.

I had raised an issue on the Android Tracker WebView does not implement the Chromecast API

It's closed as Won't Fix.

The solution here would be to use the exoplayer-cast-extension.

like image 106
Meeth Avatar answered Dec 24 '22 12:12

Meeth