You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by li...@apache.org on 2008/02/25 21:37:08 UTC
svn commit: r630983 - /incubator/shindig/trunk/features/flash/flash.js
Author: lindner
Date: Mon Feb 25 12:37:06 2008
New Revision: 630983
URL: http://svn.apache.org/viewvc?rev=630983&view=rev
Log:
Fix for SHINDIG-94 - respect syndicator proxy settings
Modified:
incubator/shindig/trunk/features/flash/flash.js
Modified: incubator/shindig/trunk/features/flash/flash.js
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/features/flash/flash.js?rev=630983&r1=630982&r2=630983&view=diff
==============================================================================
--- incubator/shindig/trunk/features/flash/flash.js (original)
+++ incubator/shindig/trunk/features/flash/flash.js Mon Feb 25 12:37:06 2008
@@ -176,9 +176,7 @@
*/
gadgets.flash.embedCachedFlash = function() {
var args = Array.prototype.slice.call(arguments);
- // TODO: This needs to use gadgets.io.getProxyUrl()
- args[0] = 'http://' + document.location.host + '/gadgets/proxy?url=' +
- args[0];
+ args[0] = gadgets.io.getProxyUrl(args[0]);
gadgets.flash.embedFlash.apply(this, args);
};