View source: R/GRV_single_item_pages.R
GRV | R Documentation |
This functions defines an Experience of Groove Questionnaire \insertCiteEGQPapergroovescale module with one page per item for incorporation in a psychTestR timeline.
GRV(
url = "https://raw.githubusercontent.com/KilianSander/groovescale/master/inst/www/audio/jingle.mp3",
label = "GRV",
type = tools::file_ext(url),
save_answer = TRUE,
on_complete = NULL,
arrange_choices_vertically = length(choices) > 2L,
wait = FALSE,
loop = FALSE,
admin_ui = NULL,
show_controls = TRUE,
allow_download = FALSE,
dict = groovescale_dict,
information = TRUE,
welcome = FALSE,
...
)
url |
URL to the audio. Can be an absolute URL (e.g. "http://mysite.com/audio.mp3") or a URL relative to the /www directory (e.g. "audio.mp3"). |
label |
Label to identify all answers corresponding to the audio given
under |
type |
Audio type (e.g. 'mp3'). Defaults to the provided file extension. |
save_answer |
Whether or not to save the answer. |
arrange_choices_vertically |
Whether to arrange the response buttons vertically (the default) as opposed to horizontally. |
wait |
Whether to wait for the audio to finish before displaying the response buttons. |
loop |
Whether the audio should loop. |
admin_ui |
Optional UI component for the admin panel. |
show_controls |
Whether or not to show audio controls to the participant, so that they can control audio playback. |
allow_download |
Whether the participant is given a button to download
the audio file; only relevant if |
dict |
(i18n_dict) The dictionary used for internationalisation. |
information |
If |
welcome |
If |
... |
Further arguments to be passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.