This repository has been archived by the owner on Sep 10, 2022. It is now read-only.
Releases: GoogleWebComponents/google-castable-video
Releases · GoogleWebComponents/google-castable-video
v1.0.3
0.1.0 - cast-away
The <google-castable-video>
element enables your HTML videos to be casted to any Chromecast. If you have an existing Chromecast device setup, you can check out a demo.
We fall-back to regular video if a casting device isn't connected. See the docs for full information on the element API.
About
It behaves exactly like an HTML5 video element except for some added methods and events. Example:
<video is="google-castable-video">
<source src="video.mp4" type="video/mp4">
</video>
Notes: Instead of listening for the video element's timeupdate
event please listen for the google-castable-video-timeupdate
event. This event is fired if the video is playing locally and on the Chromecast device.