initial stuff
This commit is contained in:
parent
3d4bff5f17
commit
a3aeb03c64
|
@ -0,0 +1,8 @@
|
||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
|
# Datasource local storage ignored files
|
||||||
|
/dataSources/
|
||||||
|
/dataSources.local.xml
|
||||||
|
# Editor-based HTTP Client requests
|
||||||
|
/httpRequests/
|
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="WEB_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager">
|
||||||
|
<content url="file://$MODULE_DIR$" />
|
||||||
|
<orderEntry type="inheritedJdk" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
</component>
|
||||||
|
</module>
|
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectModuleManager">
|
||||||
|
<modules>
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/.idea/libreavous-audio-reader.iml" filepath="$PROJECT_DIR$/.idea/libreavous-audio-reader.iml" />
|
||||||
|
</modules>
|
||||||
|
</component>
|
||||||
|
</project>
|
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
17
README.md
17
README.md
|
@ -1,2 +1,19 @@
|
||||||
# libreavous-audio-reader
|
# libreavous-audio-reader
|
||||||
|
|
||||||
|
lecteur audio pour l'émission Libre à vous
|
||||||
|
|
||||||
|
## liens
|
||||||
|
|
||||||
|
https://github.com/katspaugh/wavesurfer.js
|
||||||
|
|
||||||
|
démo du rendu recherché:
|
||||||
|
https://dev.to/jamland/audio-player-with-wavesurfer-js-react-1g3b
|
||||||
|
|
||||||
|
marqueurs pour chapitres
|
||||||
|
https://wavesurfer-js.org/plugins/markers.html
|
||||||
|
|
||||||
|
rendu des vagues en avance côté serveur
|
||||||
|
https://wavesurfer-js.org/faq
|
||||||
|
|
||||||
|
https://521dimensions.com/open-source/amplitudejs/docs/fx/waveforms.html#displaying-waveform-elements
|
||||||
|
https://wavesurfer-js.org
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
|
@ -0,0 +1,38 @@
|
||||||
|
<!-doctype html ->
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>
|
||||||
|
example lecteur audio
|
||||||
|
</title>
|
||||||
|
<meta charset="UTF-8"/>
|
||||||
|
<link rel="stylesheet" href="style.css"/>
|
||||||
|
<script src="js/wavesurfer.min.js"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1> Example de lecteur audio enrichi</h1>
|
||||||
|
<blockquote>
|
||||||
|
Code de vincent:
|
||||||
|
<figure>
|
||||||
|
<figcaption>Écoute de l'émission intégrale</figcaption>
|
||||||
|
<audio id="player" controls preload="metadata">
|
||||||
|
<source src="https://media.april.org/audio/radio-cause-commune/libre-a-vous/emissions/20210622/libre-a-vous-20210622.ogg"
|
||||||
|
type="audio/ogg">
|
||||||
|
<source id="audio"
|
||||||
|
src="https://media.april.org/audio/radio-cause-commune/libre-a-vous/emissions/20210622/libre-a-vous-20210622.mp3"
|
||||||
|
type="audio/mp3">
|
||||||
|
Votre navigateur ne supporte pas l'élément <code>audio</code>
|
||||||
|
</audio>
|
||||||
|
</figure>
|
||||||
|
</blockquote>
|
||||||
|
<hr>
|
||||||
|
<audio src="audio/anitra.mp4" controls></audio>
|
||||||
|
<!-- a div where the div will be placed -->
|
||||||
|
|
||||||
|
<div id="waveform"></div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
const player = new Plyr('#player');
|
||||||
|
</script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue