update origin for staging to fix html5 video

This commit is contained in:
Ernie Park
2012-02-05 17:57:34 -05:00
parent 2ea682fc8b
commit 7a6656a560

View File

@@ -10,7 +10,7 @@ if (swfobject.hasFlashPlayerVersion("10.1")){
} else {
//end of this URL may need &origin=http://..... once pushed to production to prevent XSS
$("#html5_player").attr("src", "http://www.youtube.com/embed/" + streams["1.0"] + "?enablejsapi=1&controls=0");
$("#html5_player").attr("src", "http://www.youtube.com/embed/" + streams["1.0"] + "?enablejsapi=1&controls=0&origin=https://6002xint.mitx.mit.edu");
$("#html5_player").show();
var tag = document.createElement('script');