aboutsummaryrefslogtreecommitdiffstats
path: root/demo/src/js/sources.js
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2020-04-24 00:22:39 +1000
committerGitHub <noreply@github.com>2020-04-24 00:22:39 +1000
commit68137aa789b195b26d4306eaebc7fee2f8eb3374 (patch)
tree8c38683d043fdfbe8b1dcb385a446de4df7396a1 /demo/src/js/sources.js
parentdbe618c644a525b196466b7254274cc9bde76275 (diff)
parent2458eaa11b5c2805bcf1e5349ab900485bac325f (diff)
downloadplyr-68137aa789b195b26d4306eaebc7fee2f8eb3374.tar.lz
plyr-68137aa789b195b26d4306eaebc7fee2f8eb3374.tar.xz
plyr-68137aa789b195b26d4306eaebc7fee2f8eb3374.zip
Merge pull request #1770 from sampotts/css-variables
Allow customization via CSS Custom Properties
Diffstat (limited to 'demo/src/js/sources.js')
-rw-r--r--demo/src/js/sources.js148
1 files changed, 74 insertions, 74 deletions
diff --git a/demo/src/js/sources.js b/demo/src/js/sources.js
index f0ec3515..6cec59c9 100644
--- a/demo/src/js/sources.js
+++ b/demo/src/js/sources.js
@@ -1,78 +1,78 @@
const sources = {
- video: {
- type: 'video',
- title: 'View From A Blue Moon',
- sources: [
- {
- src: 'https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-576p.mp4',
- type: 'video/mp4',
- size: 576,
- },
- {
- src: 'https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-720p.mp4',
- type: 'video/mp4',
- size: 720,
- },
- {
- src: 'https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-1080p.mp4',
- type: 'video/mp4',
- size: 1080,
- },
- {
- src: 'https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-1440p.mp4',
- type: 'video/mp4',
- size: 1440,
- },
- ],
- poster: 'https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-HD.jpg',
- tracks: [
- {
- kind: 'captions',
- label: 'English',
- srclang: 'en',
- src: 'https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-HD.en.vtt',
- default: true,
- },
- {
- kind: 'captions',
- label: 'French',
- srclang: 'fr',
- src: 'https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-HD.fr.vtt',
- },
- ],
- },
- audio: {
- type: 'audio',
- title: 'Kishi Bashi &ndash; &ldquo;It All Began With A Burst&rdquo;',
- sources: [
- {
- src: 'https://cdn.plyr.io/static/demo/Kishi_Bashi_-_It_All_Began_With_a_Burst.mp3',
- type: 'audio/mp3',
- },
- {
- src: 'https://cdn.plyr.io/static/demo/Kishi_Bashi_-_It_All_Began_With_a_Burst.ogg',
- type: 'audio/ogg',
- },
- ],
- },
- youtube: {
- type: 'video',
- sources: [
- {
- src: 'https://youtube.com/watch?v=bTqVqk7FSmY',
- provider: 'youtube',
- },
- ],
- },
- vimeo: {
- type: 'video',
- sources: [
- {
- src: 'https://vimeo.com/40648169',
- provider: 'vimeo',
- },
- ],
- },
+ video: {
+ type: 'video',
+ title: 'View From A Blue Moon',
+ sources: [
+ {
+ src: 'https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-576p.mp4',
+ type: 'video/mp4',
+ size: 576,
+ },
+ {
+ src: 'https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-720p.mp4',
+ type: 'video/mp4',
+ size: 720,
+ },
+ {
+ src: 'https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-1080p.mp4',
+ type: 'video/mp4',
+ size: 1080,
+ },
+ {
+ src: 'https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-1440p.mp4',
+ type: 'video/mp4',
+ size: 1440,
+ },
+ ],
+ poster: 'https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-HD.jpg',
+ tracks: [
+ {
+ kind: 'captions',
+ label: 'English',
+ srclang: 'en',
+ src: 'https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-HD.en.vtt',
+ default: true,
+ },
+ {
+ kind: 'captions',
+ label: 'French',
+ srclang: 'fr',
+ src: 'https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-HD.fr.vtt',
+ },
+ ],
+ },
+ audio: {
+ type: 'audio',
+ title: 'Kishi Bashi &ndash; &ldquo;It All Began With A Burst&rdquo;',
+ sources: [
+ {
+ src: 'https://cdn.plyr.io/static/demo/Kishi_Bashi_-_It_All_Began_With_a_Burst.mp3',
+ type: 'audio/mp3',
+ },
+ {
+ src: 'https://cdn.plyr.io/static/demo/Kishi_Bashi_-_It_All_Began_With_a_Burst.ogg',
+ type: 'audio/ogg',
+ },
+ ],
+ },
+ youtube: {
+ type: 'video',
+ sources: [
+ {
+ src: 'https://youtube.com/watch?v=bTqVqk7FSmY',
+ provider: 'youtube',
+ },
+ ],
+ },
+ vimeo: {
+ type: 'video',
+ sources: [
+ {
+ src: 'https://vimeo.com/40648169',
+ provider: 'vimeo',
+ },
+ ],
+ },
};
export default sources;