getDownloadLink as separate method

This commit is contained in:
Sanj 2011-03-14 08:07:46 +05:30
parent cfe52ac12a
commit bc1ddaceff

View File

@ -60,11 +60,11 @@ padmaVideo.prototype.getVideo = function(tc, size) {
return this.video.urls[size] + "?t=npt:" + tc;
}
/*
padmaVideo.prototype.getLayerVideo = function(tcIn, tcOut) {
padmaVideo.prototype.getDownloadLink = function(tcIn, tcOut) {
return BASE_URL + this.id + "/download/" + tcIn + "-" + tcOut + ".ogv";
}
*/
padmaVideo.prototype.getLayerVideo = function(tcIn, tcOut) {
return this.video.urls['320'] + "?t=" + tcIn + "/" + tcOut;