getDownloadLink as separate method
This commit is contained in:
parent
cfe52ac12a
commit
bc1ddaceff
|
@ -60,11 +60,11 @@ padmaVideo.prototype.getVideo = function(tc, size) {
|
||||||
return this.video.urls[size] + "?t=npt:" + tc;
|
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";
|
return BASE_URL + this.id + "/download/" + tcIn + "-" + tcOut + ".ogv";
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
padmaVideo.prototype.getLayerVideo = function(tcIn, tcOut) {
|
padmaVideo.prototype.getLayerVideo = function(tcIn, tcOut) {
|
||||||
return this.video.urls['320'] + "?t=" + tcIn + "/" + tcOut;
|
return this.video.urls['320'] + "?t=" + tcIn + "/" + tcOut;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user