Fix for google docs changing their video player:
This commit is contained in:
parent
d94c596063
commit
b7edfc31f9
6 changed files with 97 additions and 69 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue