|
111 | 111 | add_action( 'wp_enqueue_scripts', 'ableplayer_enqueue_scripts' ); |
112 | 112 |
|
113 | 113 | /** |
114 | | - * Self-documenting array of AblePlayer attributes. |
| 114 | + * Self-documenting array of AblePlayer attributes. |
115 | 115 | * |
116 | 116 | * @return array |
117 | 117 | */ |
|
216 | 216 | 'default' => '', |
217 | 217 | 'description' => __( 'Allow keyboard shortcuts for controlling the player remotely within textarea form fields.', 'ableplayer' ), |
218 | 218 | 'options' => array( 'true' ), |
219 | | - ), |
| 219 | + ), |
220 | 220 | 'start' => array( |
221 | 221 | 'default' => '', |
222 | 222 | 'description' => __( 'Time at which you want the media to start playing.', 'ableplayer' ), |
|
225 | 225 | 'transcript-div' => array( |
226 | 226 | 'default' => '', |
227 | 227 | 'description' => __( 'ID of a custom div in which to display an interactive transcript.', 'ableplayer' ), |
228 | | - ), |
| 228 | + ), |
229 | 229 | 'transcript-src' => array( |
230 | 230 | 'default' => '', |
231 | 231 | 'description' => __( 'ID of an external div that contains a pre-existing manually coded transcript. Able Player will parse this transcript and interact with it during playback', 'ableplayer' ), |
232 | | - ), |
| 232 | + ), |
233 | 233 | 'include-transcript' => array( |
234 | 234 | 'default' => '', |
235 | 235 | 'description' => __( 'Set to “false” to exclude transcript button from controller.', 'ableplayer' ), |
236 | 236 | 'options' => array( 'true' ), |
237 | | - ), |
| 237 | + ), |
238 | 238 | 'transcript-title' => array( |
239 | 239 | 'default' => '', |
240 | 240 | 'description' => __( 'Override default transcript title (default is “Transcript”, or “Lyrics” if the data-lyrics-mode attribute is present)', 'ableplayer' ), |
|
294 | 294 | 'volume' => array( |
295 | 295 | 'default' => '7', |
296 | 296 | 'description' => __( 'Set the default volume from 0 to 10; default is 7 to avoid overpowering screen reader audio)', 'ableplayer' ), |
297 | | - 'options' => array( '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10' ); |
| 297 | + 'options' => array( '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10' ), |
298 | 298 | ), |
299 | 299 | 'youtube-id' => array( |
300 | 300 | 'default' => '', |
|
0 commit comments