From f98e08c150a4289199cd6daafb0687e4edd5046a Mon Sep 17 00:00:00 2001 From: Dale Harvey Date: Wed, 17 Oct 2012 15:33:58 -0400 Subject: [PATCH] Bug 802466 - Add signature to stream url. r=fabrice --- b2g/components/YoutubeProtocolHandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b2g/components/YoutubeProtocolHandler.js b/b2g/components/YoutubeProtocolHandler.js index 9a2f81c84872..822c7be90998 100644 --- a/b2g/components/YoutubeProtocolHandler.js +++ b/b2g/components/YoutubeProtocolHandler.js @@ -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; }