I am using amazon mechanical turk, a platform to get simple tasks done. I am using it to get audio files transcribed. Here is my setup: I am using the basic web form to create HITs, having embed an audio-player using JWplayer
Mechanical turk has two views on tasks (called HIT), a preview and the regular view when you accept taking the task. What I want to do, is showing only a 15sec preview of the audio file when somebody has not yet accepted the task (and show the full audio when accepted)
I thought I include two objects, the preview 15sec audio and the full audio, and hide or show them depending on the URL, which is changing when you preview/or accept a task (and the rules of confidentially).
If a task is previewed, the URL looks like: https://www.mturk.com/mturk/preview?groupId=3IQQTV3
When the task is accepted it also contain an assignmentId=3493something
(also look here, they suggest to use "assignmentId=ASSIGNMENT_ID_NOT_AVAILABLE" to determine the preview URL http://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_ExternalQuestionArticle.html)
Can somebody help me with that? I thing its possible javascript, but I have no idea how to do that.