Copyright 2014 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
This element represents the volume bars in the CastVideos-chrome-material sample.
It's used in both
cast-controller-element as the volume controller.
It fires an event to
cast-manager when volume is changed and its rendering is bound to the
Use Bower to include the cast-volume-controller in your web app. The following command will add the cast-volume-controller and it's dependencies to your project.
bower install --save googlecast/cast-volume-controller-polymer
You'll need to first include Polymer.
Including the element
In your html include the element
<link rel="import" href="bower_components/cast-volume-controller-polymer/cast-volume-controller.html">
Add the element to your HTML and bid the
<cast-volume-controller volume="[[ volume ]]"></cast-volume-controller>
Your use of this sample is subject to, and by using or downloading the sample files you agree to comply with, the Google APIs Terms of Service and the Google Cast SDK Additional Developer Terms of Service.