summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--animism-align/README.md9
-rw-r--r--animism-align/frontend/app/constants.js2
-rw-r--r--animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.video.js6
-rw-r--r--animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.video.js2
4 files changed, 10 insertions, 9 deletions
diff --git a/animism-align/README.md b/animism-align/README.md
index 9cdb949..f2c226c 100644
--- a/animism-align/README.md
+++ b/animism-align/README.md
@@ -13,15 +13,10 @@ npm install
## Generating waveform peaks
-Make sure your source sound is encoded as a 192 kbps CBR MP3:
-
-```
-ffmpeg -i original.wav -b:a 192k ../data_store/peaks/episode_99.mp3
-```
-
-Then generate the peaks:
+Make sure your source sound is encoded as a 192 kbps CBR MP3, then generate the peaks:
```
+ffmpeg -i original.wav -ar 44100 -b:a 192k ../data_store/peaks/episode_99.mp3
./cli.py peaks parse -i original.wav
```
diff --git a/animism-align/frontend/app/constants.js b/animism-align/frontend/app/constants.js
index 647efbc..c4523d5 100644
--- a/animism-align/frontend/app/constants.js
+++ b/animism-align/frontend/app/constants.js
@@ -1,5 +1,5 @@
export const URLS = {
- audio: '/static/data_store/peaks/animism_episode_01_0910.mp3',
+ audio: '/static/data_store/peaks/animism_episode_01_2810.mp3',
peaks: '/static/data_store/peaks/peaks.json',
text: '/static/data_store/peaks/text.txt',
}
diff --git a/animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.video.js b/animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.video.js
index 45b538b..70d42f2 100644
--- a/animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.video.js
+++ b/animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.video.js
@@ -48,6 +48,12 @@ export const AnnotationFormVideo = ({ annotation, media, handleSettingsSelect, h
checked={annotation.settings.loop}
onChange={handleSettingsSelect}
/>
+ <Checkbox
+ label="Unmute"
+ name="unmuted"
+ checked={annotation.settings.unmuted}
+ onChange={handleSettingsSelect}
+ />
{annotation.settings.inline && (
<Checkbox
label="Show poster image"
diff --git a/animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.video.js b/animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.video.js
index 5bc48a4..7f23ac7 100644
--- a/animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.video.js
+++ b/animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.video.js
@@ -62,7 +62,7 @@ class FullscreenVideo extends Component {
video={item.url}
paused={!playing}
autoplay={true}
- muted={true}
+ muted={!annotation.settings.unmuted}
loop={!!element.settings.loop}
seek={this.state.seek}
responsive={true}