mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 802466 - Add signature to stream url. r=fabrice
This commit is contained in:
parent
429e33b79b
commit
f98e08c150
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user