$args { * @type string $attributes The root's attributes, escaped. * @type array $options The widget's options (`title`, `label`, …). * @type bool $allowed Whether the current visitor may record. * @type string $login The login URL for a visitor, or ''. * @type array $sources Each: `value`, `kind` (mic, tab, stream), `label`. * @type int $max_minutes The longest recording, in minutes. * } */ defined( 'ABSPATH' ) || exit; $vocalstack_label = '' !== (string) $args['options']['label'] ? (string) $args['options']['label'] : __( 'Start recording', 'vocalstack' ); $vocalstack_id = wp_unique_id( 'vocalstack-record-' ); ?>
' . esc_html__( 'log in', 'vocalstack' ) . '' ); ?>
0 ) { /* translators: %d: minutes */ echo esc_html( sprintf( _n( 'Record up to %d minute. The transcript appears as you speak.', 'Record up to %d minutes. The transcript appears as you speak.', $args['max_minutes'], 'vocalstack' ), $args['max_minutes'] ) ); } ?>