X Module fully refactored

This commit is contained in:
Piotr Mitros
2011-12-11 15:57:12 -05:00
parent a077249a28
commit 9037e116de
4 changed files with 40 additions and 25 deletions

View File

@@ -71,7 +71,7 @@ function updateHTML(elmId, value) {
}
function setytplayerState(newState) {
updateHTML("playerstate", newState);
// updateHTML("playerstate", newState);
}
function onYouTubePlayerReady(playerId) {
@@ -143,10 +143,10 @@ function updateytplayerInfo() {
update_captions(getCurrentTime());
}
updateHTML("videoduration", getDuration());
updateHTML("videotime", getCurrentTime());
updateHTML("startbytes", getStartBytes());
updateHTML("volume", getVolume());
// updateHTML("videoduration", getDuration());
// updateHTML("videotime", getCurrentTime());
// updateHTML("startbytes", getStartBytes());
// updateHTML("volume", getVolume());
}
// functions for the api calls