![]() The user can select a video from a list and can then play the video locally on the device or Cast it to a Google Cast device. app-done-The complete code for the finished sample video app.įirst, let's see what the completed sample app looks like.app-start-The starting code that you'll build upon in this codelab.The cast-videos-cast codelab repository contains two sample projects: You can download all the sample code to your computer. How will you use this tutorial? Read it through only Read it and complete the exercises How would you rate your experience with building web apps? Novice Intermediate Proficient How would you rate your experience with watching TV? Novice Intermediate Proficient If you are in a location where the WiFi network isn't reliable, then the Chromecast device can be wired by using an ethernet adapter for Chromecast or for Chromecast with Google TV. You will also need previous knowledge of watching TV :).You will need to have previous web development knowledge.If you do not have one, feel free to skip the Add Cast Connect Support step, towards the end of this tutorial. A Chromecast with Google TV is required to test Cast Connect integration but is optional for the rest of the Codelab.A Google Cast device such as a Chromecast or Android TV configured with internet access.How to connect to a Cast device and launch a media receiver.How to add the Cast button for selecting a Google Cast device.How to add the Google Cast SDK to a sample video app.When you have completed this codelab, you will have a Chrome web video app that will be able to Cast videos to a Google Cast device. The Google Cast Design Checklist is provided to make the Cast user experience simple and predictable across all supported platforms. The Cast SDK allows you to add the necessary UI components based on the Google Cast Design Checklist. The Google Cast SDK lets you extend your app to control a TV or sound system. Users can then use their mobile device as a remote control for media playback on the TV. Google Cast allows users to cast content from a mobile device to a TV. This codelab will teach you how to modify an existing web video app to cast content on a Google Cast-enabled device. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |