Skip to content

Showcase of using mouse pointer in Google Cast custom receiver application with Chrome sender.

Notifications You must be signed in to change notification settings

sandrew/gcast_mouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Cast receiver app mouse support

Yeah, I know that Google advices "no mouse events" in Chromecast. But who cares?

Mouse pointer position is sent with standard GCast sendMessage.

MouseEnter and MouseLeave events are simulated with document.elementFromPoint function. Click and other pointer events can also be triggered.

Also remember, Chromecast does not have css pointer events, so you have no :hover etc. subclasses. You can use .hover classes instead.

For instructions how to run this example follow the Google Cast API documentation.

Good luck.

About

Showcase of using mouse pointer in Google Cast custom receiver application with Chrome sender.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published