Commit 7a6656a5 by Ernie Park

update origin for staging to fix html5 video

parent 2ea682fc
...@@ -10,7 +10,7 @@ if (swfobject.hasFlashPlayerVersion("10.1")){ ...@@ -10,7 +10,7 @@ if (swfobject.hasFlashPlayerVersion("10.1")){
} else { } else {
//end of this URL may need &origin=http://..... once pushed to production to prevent XSS //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(); $("#html5_player").show();
var tag = document.createElement('script'); var tag = document.createElement('script');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment