From d7a1c4428138d2dd5af09e41e998d1e08dafe76e Mon Sep 17 00:00:00 2001 From: Sam Potts Date: Thu, 16 Nov 2017 11:38:06 +0100 Subject: Using fetch instead of xhr, grabbing title for YouTube --- demo/src/js/demo.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'demo/src/js/demo.js') diff --git a/demo/src/js/demo.js b/demo/src/js/demo.js index f77ca6dd..a1fb7f4c 100644 --- a/demo/src/js/demo.js +++ b/demo/src/js/demo.js @@ -150,7 +150,7 @@ document.addEventListener('DOMContentLoaded', () => { title: 'View From A Blue Moon', sources: [ { - src: 'https://www.youtube.com/watch?v=bTqVqk7FSmY', + src: 'https://youtube.com/watch?v=bTqVqk7FSmY', type: 'youtube', }, ], @@ -161,7 +161,6 @@ document.addEventListener('DOMContentLoaded', () => { case types.vimeo: player.source = { type: 'video', - title: 'View From A Blue Moon', sources: [ { src: 'https://vimeo.com/76979871', -- cgit v1.2.3