You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: audio-slideshow/README.md
+8
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,7 @@ Reveal.initialize({
49
49
autoplay:false, // automatically start slideshow
50
50
defaultDuration:5, // default duration in seconds if no audio is available
51
51
defaultAudios:true, // try to play audios with names such as audio/1.2.ogg
52
+
defaultPlaybackRate =1.0, // speed of audio
52
53
playerOpacity:0.05, // opacity value of audio player if unfocused
53
54
playerStyle:'position: fixed; bottom: 4px; left: 25%; width: 50%; height:75px; z-index: 33;', // style used for container of audio controls
54
55
startAtFragment:false, // when moving to a slide, start at the current fragment or at the start of the slide
@@ -57,6 +58,13 @@ Reveal.initialize({
57
58
});
58
59
```
59
60
61
+
### Playback speed
62
+
63
+
This plugin has a parameter ```defaultPlaybackRate```, which configures with what speed audio is played by default. Note that this option changes the speed of *all* audios, which may interfere with other plugins such as ```RevealChalkboard``` or ```RevealAnimate```, which may have their own notion of "correct" playback rate.
64
+
65
+
In addition, users may use adjust the speed of audio using the audio controls (usually, via right-click). The plugin remembers the currently set speed and uses that on subsequent audios as well.
66
+
67
+
60
68
## Preparing an audio slideshow
61
69
62
70
For each slide or fragment you can explicitly specify a file to be played when the slide or fragment is shown by setting the ```data-audio-src``` attribute for the slide or fragment.
0 commit comments