Fix for google docs changing their video player:

This commit is contained in:
Calvin Montgomery 2014-08-06 20:12:57 -07:00
parent d94c596063
commit b7edfc31f9
6 changed files with 97 additions and 69 deletions

View file

@ -878,7 +878,10 @@ Callbacks = {
data = vimeoSimulator2014(data);
}
if (data.type === "gp") {
/*
* Google Docs now uses the same simulator as Google+
*/
if (data.type === "gp" || data.type === "gd") {
data = googlePlusSimulator2014(data);
}

View file

@ -2737,11 +2737,6 @@ function googlePlusSimulator2014(data) {
/* Google+ Simulator uses the raw file player */
data.type = "fi";
/* For browsers that don't support native h264 playback */
if (USEROPTS.no_h264) {
data.forceFlash = true;
}
if (!data.meta.gpdirect) {
data.url = "";
return data;