Reply To: Editing red "recording…" message

PennController for IBEX Forums Support Editing red "recording…" message Reply To: Editing red "recording…" message

#6368
Jeremy
Keymaster

Hi Anna,

As you guessed, the “Recording…” message is there for transparency reasons. I recommend providing your participants with a very clear signal indicating when they are being recorded or not at all time. You can modify the aesthetics of the top message either by writing a rule to that effect in a global CSS file, or by executing some javascript code upon runtime. Here is an example that uses the latter solution to completely hide it (along with the “record” button that comes with printing the video feedback):

newTrial(
    newButton("Go fullscreen").print().wait().remove()
    ,
    fullscreen()
    ,
    newMediaRecorder("video").print().log().record()
    ,
    newFunction(()=>$("div:contains(Recording...), .PennController-MediaRecorder-record").hide()).call()
    ,
    newTimer(60000).start().wait() // Record for 1min
    ,
    getMediaRecorder("video").stop()
    ,
    newButton("Next").print().wait()
)

Let me know if you have any questions,

Jeremy