From cd4d7a2ca868209fb1e2dbd790c1e5d6cca77e86 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 18 May 2018 11:02:40 +0200 Subject: Fix peertube with google bot --- client/src/standalone/videos/embed.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'client/src/standalone') diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts index aa418d2d4..c88219242 100644 --- a/client/src/standalone/videos/embed.ts +++ b/client/src/standalone/videos/embed.ts @@ -1,5 +1,8 @@ import './embed.scss' +// For google bot that uses Chrome 41 and does not understand fetch +import 'whatwg-fetch' + import * as videojs from 'video.js' import { VideoDetails } from '../../../../shared' -- cgit v1.2.3