Reuseable volume controller element. Used in both the player and cast controller.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

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.

#cast-volume-controller This element represents the volume bars in the CastVideos-chrome-material sample.

It's used in both cast-player-bar and 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 volume property.

##Setup 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

##Integration You'll need to first include Polymer.

###Including the element In your html include the element

<link rel="import"

Add the element to your HTML and bid the volume parameter.

<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.