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: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -214,6 +214,7 @@ The following attributes are supported on both the `<audio>` and `<video>` eleme
214
214
-**data-skin** - optional; "legacy (default) or "2020". The default skin has two rows of controls, with the seekbar positioned in available space within the top row. The "2020" skin, introduced in version 4.2, has all buttons in one row beneath a full-width seekbar.
215
215
-**data-speed-icons** - optional; "animals" (default) or "arrows". The default setting uses a turtle icon for *slower* and a rabbit icon for *faster*. Setting this to "arrows" uses the original Able Player icons (prior to version 3.5), arrows pointing up for *faster* and down for *slower*.
216
216
-**data-start-time** - optional; time at which you want the audio to start playing (in seconds)
217
+
-**data-steno-iframe-id** - optional; id of an iframe in which users will be typing with steno-mode enabled (see next item).
217
218
-**data-steno-mode** - optional; "true" to allow keyboard shortcuts for controlling the player remotely within textarea form fields, e.g., for transcribing media content.
218
219
-**data-volume** - optional; set the default volume (0 to 10; default is 7 to avoid overpowering screen reader audio)
219
220
-**data-seek-interval** - optional; interval (in seconds) of forward and rewind buttons. By default, seek interval is intelligently calculated based on duration of the media.
<p>Ordinarily, when users are interacting with form fields, their keystrokes should not be handled by the player.
44
+
However, in some contexts (e.g., in a transcription application), users may want to control the player
45
+
from within a textarea field. To enable this functionality, add <strong>data-steno-mode</strong> to the <audio> or <video> element. Note: Modifier keys for keyboard shortcuts can be configured within <em>Preferences > Keyboard</em>.</p>
46
+
<p>In this variation, the transcription form is contained within an iframe. To make this work, the *<iframe&gr; element must have a unique id. Then add <strong>data-steno-iframe-id</strong> to the <audio> or <video> element, with a value that matches the id of the iframe.</p>
0 commit comments