Different message for UploadRecordings

PennController for IBEX Forums Support Different message for UploadRecordings

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5990
    emielvdhoven
    Participant

    Hi Jeremy,

    How can I change the message participants get when recordings are being uploaded? (“Please wait while the archive of your recordings is being uploaded to the server…”) Would I need something along the lines of this or this solution?

    It takes a while for the recordings to upload and I wouldn’t want the non-English-speaking participants to give up at that point because they don’t understand what’s going on.

    Best,
    Emiel

    #5991
    Jeremy
    Keymaster

    Hi Emiel,

    Yes, it would be along the lines of the solutions you point to. So something like:

    const replaceUploadingMessage = ()=>{
        const uploadingMessage = $(".PennController-PennController > p");
        if (uploadingMessage.length > 0 && uploadingMessage[0].innerHTML.match(/^Please wait while the archive of your recordings is being uploaded to the server/))
            uploadingMessage.html("Please wait");
        window.requestAnimationFrame( replaceUploadingMessage );
    };
    window.requestAnimationFrame( replaceUploadingMessage );

    Also consider uploading recordings trial by trial

    Jeremy

    #5996
    emielvdhoven
    Participant

    Hi Jeremy,

    Thanks very much!

    Emiel

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.