aboutsummaryrefslogtreecommitdiffstats
path: root/demo/src/js/demo.js
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2017-11-16 11:38:06 +0100
committerSam Potts <sam@potts.es>2017-11-16 11:38:06 +0100
commitd7a1c4428138d2dd5af09e41e998d1e08dafe76e (patch)
treea3f039f1a2564f43e5f3fa9f49db0527f209f04e /demo/src/js/demo.js
parentc64b8f69403b0287f55f25dc533b41cb8d34075d (diff)
downloadplyr-d7a1c4428138d2dd5af09e41e998d1e08dafe76e.tar.lz
plyr-d7a1c4428138d2dd5af09e41e998d1e08dafe76e.tar.xz
plyr-d7a1c4428138d2dd5af09e41e998d1e08dafe76e.zip
Using fetch instead of xhr, grabbing title for YouTube
Diffstat (limited to 'demo/src/js/demo.js')
-rw-r--r--demo/src/js/demo.js3
1 files changed, 1 insertions, 2 deletions
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',