Skip to content
Browse files

Ensure that the volume is set correctly when starting the player.

  • Loading branch information...
1 parent 6f7c308 commit 9e3b986e34e053351d03fc44c0e637721485af49 @beastaugh beastaugh committed
Showing with 3 additions and 2 deletions.
  1. +1 −0 CHANGELOG
  2. +1 −1 README.md
  3. +1 −1 source/youtube-player.js
View
1 CHANGELOG
@@ -2,6 +2,7 @@
* Make play/pause button always have the content "Play/pause" rather than
changing it when the player state changes.
+* Ensure that the volume is set correctly when starting the player.
2010.08.16, Version 1.2.0
View
2 README.md
@@ -61,7 +61,7 @@ depends on, and using the `require` function as usual:
Helium.use('yui', '2.8.0r4');
Helium.use('ojay', '0.4.2');
Helium.use('swfobject', 'master');
- Helium.use('youtube-player', '1.2.0');
+ Helium.use('youtube-player', '1.2.1');
require('YoutubePlayer', function() {
YoutubePlayer.API_KEY = '_api_key_';
View
2 source/youtube-player.js
@@ -247,7 +247,7 @@ var YoutubePlayer = new JS.Class({
this.setState('PAUSED');
this.notifyObservers('ready');
setInterval(this.method('updateTime'), 250);
- this.setVolume();
+ this.setVolume(100);
},
/**

0 comments on commit 9e3b986

Please sign in to comment.
Something went wrong with that request. Please try again.