Bug 802466 - Add signature to stream url. r=fabrice

This commit is contained in:
Dale Harvey 2012-10-17 15:33:58 -04:00
parent 429e33b79b
commit f98e08c150

View File

@ -93,7 +93,7 @@ YoutubeProtocolHandler.prototype = {
let index;
if (url && type && ((index = recognizedTypes.indexOf(type)) != -1) &&
index > bestType) {
uri = url;
uri = url + '&signature=' + (params["sig"] ? params['sig'] : '');
mimeType = type;
bestType = index;
}