| Index: safari/include.youtube.js |
| diff --git a/safari/include.youtube.js b/safari/include.youtube.js |
| index 034d49cf74cbb4d5993bff67b115b975d85f821c..8165fa6dbb5bdbee51484a8373efd87839fe05a7 100644 |
| --- a/safari/include.youtube.js |
| +++ b/safari/include.youtube.js |
| @@ -97,7 +97,8 @@ |
| // player with JavaScript which video and which ads to show next, |
| // bypassing our flashvars rewrite code. So we disable |
| // history.pushState before YouTube's JavaScript runs. |
| - History.prototype.pushState = undefined; |
| + if (typeof History != "undefined") |
|
Sebastian Noack
2016/10/12 15:51:58
It seems that the History object is supported sinc
Sebastian Noack
2016/10/12 18:03:35
Fair enough, lets give it a try. But please check
|
| + History.prototype.pushState = undefined; |
| // The HTML5 player is configured via ytplayer.config.args. We have |
| // to make sure that ad-related arguments are ignored as they are set. |