aboutsummaryrefslogtreecommitdiffstats
path: root/demo/src/js/sources.js
blob: 77cbd4074b534af6bf8fe7b156e859d668b75341 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
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 – “It All Began With A Burst”',
        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/383514704',
                provider: 'vimeo',
            },
        ],
    },
};

export default sources;