-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathTheme_test-all-buttons.html
128 lines (112 loc) · 5.41 KB
/
Theme_test-all-buttons.html
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<!DOCTYPE html>
<html>
<meta charset="UTF-8" />
<title>CPU-Audio theme example : Test all buttons</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<script src="../build/cpu-audio.test-all-buttons.js" async></script>
<style>
cpu-audio {display : inline-block !important;}
</style>
<script>
document.addEventListener('CPU_ready', ({target}) => {
target.CPU.shadow.querySelector('#pagemain #control').addEventListener('click', (e) => { document.CPU.trigger.toggleplay(e); });
});
</script>
<body>
<p><a href="../examples.html">← back to examples list</a></p>
<h1>CPU-Audio theme example : Test all buttons</h1>
<p>This theme is only intented for testing purposes. Labels are related to ID </p>
<cpu-controller>
</cpu-controller>
<hr />
<cpu-audio
playlist="cpu"
title="Ex0117 À la source du son"
poster="https://cpu.dascritch.net/public/Images/Emissions/.1910-Ex0117-SourceDuSon_s.jpg"
canonical="https://cpu.dascritch.net/post/2019/10/17/Ex0117-%C3%80-la-source-du-son"
mode="button" hide="panels">
<audio controls id="ep1" preload="none">
<source src="https://cpu.dascritch.net/public/Sonores/Emissions/hls/0117-CPU%2817-10-19%29/index.m3u8" type="application/x-mpegurl" />
<source src="https://cpu.dascritch.net/public/Sonores/Emissions/podcast/0117-CPU%2817-10-19%29.mp3" type="audio/mpeg" data-downloadable />
<track kind="chapters" src="../tests-assets/0117-CPU%2817-10-19%29.vtt" default />
</audio>
</cpu-audio>
<cpu-audio
playlist="cpu"
title="Ex0136 Traitements du son"
poster="https://cpu.dascritch.net/public/Images/Emissions/.2004-Ex0136-TraitementsDeSon_s.jpg"
canonical="https://cpu.dascritch.net/post/2020/04/30/Ex0136-Traitements-du-son"
mode="button" hide="panels">
<audio controls id="ep2" preload="none">
<!-- source src="https://cpu.dascritch.net/public/Sonores/Emissions/hls/0136-CPU%2830-04-20%29/index.m3u8" type="application/x-mpegurl" also missing on server /-->
<source src="https://cpu.dascritch.net/public/Sonores/Emissions/podcast/0136-CPU%2830-04-20%29.mp3" type="audio/mpeg" data-downloadable />
<track kind="chapters" src="../tests-assets/0136-CPU%2830-04-20%29.vtt" default />
</audio>
</cpu-audio>
<cpu-audio
playlist="cpu"
title="Ex0137 Ingénieur du son"
poster="https://cpu.dascritch.net/public/Images/Emissions/.2005-Ex0137-IngenieurDuSon_s.jpg"
canonical="https://cpu.dascritch.net/post/2020/05/14/Ex0137-Ing%C3%A9nieur-du-son"
mode="button" hide="panels">
<audio controls id="ep3" preload="none">
<source src="https://cpu.dascritch.net/public/Sonores/Emissions/hls/0137-CPU%2814-05-20%29/index.m3u8" type="application/x-mpegurl" />
<source src="https://cpu.dascritch.net/public/Sonores/Emissions/podcast/0137-CPU%2814-05-20%29.mp3" type="audio/mpeg" data-downloadable />
<track kind="chapters" src="../tests-assets/0137-CPU%2814-05-20%29.vtt" default />
</audio>
</cpu-audio>
<cpu-audio
playlist="cpu"
title="Ex0143 Le son laser"
poster="https://cpu.dascritch.net/public/Images/Chroniques/.2009-Ex0143-CD_s.jpg"
canonical="https://cpu.dascritch.net/post/2020/09/24/Ex0143-Le-son-laser"
mode="button" hide="panels">
<audio controls id="ep4" preload="none">
<source src="https://cpu.dascritch.net/public/Sonores/Emissions/hls/0143-CPU%2824-09-20%29/index.m3u8" type="application/x-mpegurl" />
<source src="https://cpu.dascritch.net/public/Sonores/Emissions/podcast/0143-CPU%2824-09-20%29.mp3" type="audio/mpeg" data-downloadable />
<track kind="chapters" src="../tests-assets/0143-CPU%2824-09-20%29.vtt" default />
</audio>
</cpu-audio>
<hr />
<p>Another playlist. The controller should change its playlist panel</p>
<cpu-audio
playlist="hallu"
title="micro @HalluFMR #36 : Placebo"
poster="https://dascritch.net/vrac/.blog2/radio/.1409-Hallucinarium-FMR_s.jpg"
canonical="https://dascritch.net/post/2015/05/27/micro-%40HalluFMR-36-%3A-Placebo"
mode="button">
<audio controls id="pl1" preload="none">
<source src="https://dascritch.net/vrac/Emissions/AtHalluFMR/podcast/36-AtHalluFMR%2827-05-15%29.mp3" type="audio/mpeg">
</audio>
</cpu-audio>
<cpu-audio
playlist="hallu"
title="micro @HalluFMR #38 : Sensationnel"
poster="https://dascritch.net/vrac/.blog2/radio/1411-AtHalluFmr/.1505-PassageF3_m.jpg"
canonical="https://dascritch.net/post/2015/06/10/micro-%40HalluFMR-38-%3A-Sensationnel"
mode="button">
<audio controls id="pl2" preload="none">
<source src="http://dascritch.net/vrac/Emissions/AtHalluFMR/podcast/38-AtHalluFMR(10-06-15).mp3" type="audio/mpeg">
</audio>
</cpu-audio>
<cpu-audio
playlist="hallu"
title="micro @HalluFMR #40 : Conditions Générales"
poster="https://dascritch.net/vrac/.blog2/radio/.1409-Hallucinarium-FMR_s.jpg"
canonical="https://dascritch.net/post/2015/06/24/micro-%40HalluFMR-40-%3A-Conditions-G%C3%A9n%C3%A9rales"
mode="button">
<audio controls id="pl3" preload="none">
<source src="http://dascritch.net/vrac/Emissions/AtHalluFMR/podcast/40-AtHalluFMR(24-06-15).mp3" type="audio/mpeg">
</audio>
</cpu-audio>
<hr />
<p>Alone, no playlist</p>
<cpu-audio
title="no playlist"
mode="button">
<audio controls id="no" preload="none">
<source src="../tests-assets/blank.mp3" type="audio/mpeg">
</audio>
</cpu-audio>
</body>
</html>