How to integrate audio files in the exercises?

294 views
Skip to first unread message

Jue Wang Szilas

unread,
Jul 27, 2016, 9:15:50 AM7/27/16
to General Open edX discussion
Hello,

I'm now creating exercises for a language MOOC from France (FUN plateforme based on edX).  Can anybody tell me how to integrate audio file in the exercises? Thank you.

Jade

yvain DEMOLLIERE

unread,
Jul 27, 2016, 6:31:12 PM7/27/16
to General Open edX discussion
Hi, we did something similar for pimpmonanglais.com course. 
It is quite easy.
1- upload your mp3 file in files and uploads (if less than 10mo)
2- Copy/Paste this in Advanced Problem Editor: 

<problem>
<p>Who made this track ? </p>

<audio controls="controls" style="margin-bottom:18px;">
  <source src="/static/still.mp3" type="audio/mpeg"/>
</audio>

<multiplechoiceresponse>
  <choicegroup type="MultipleChoice">
    <choice correct="false">Eminem</choice>
    <choice correct="false">TuPac</choice>
    <choice correct="true">Dr.Dre</choice>
    <choice correct="false">Notorious BIG</choice>
  </choicegroup>
</multiplechoiceresponse>

</problem>


The audio elements is in blue, rest is standard problem layout.

It looks something like this: 

-Yvain-

a.k...@uq.edu.au

unread,
Jul 29, 2016, 10:17:29 AM7/29/16
to General Open edX discussion
Hi Jade, 

We have a custom built player using 3rd party libraries. https://github.com/UQ-UQx/audio_player

we use this player in our IELTSx course on edX.org

Cheers,
Ankith 

Jue Wang Szilas

unread,
Oct 30, 2016, 9:46:14 AM10/30/16
to General Open edX discussion
Thank you very much ! It works ! Sorry for the late reply because I lot the link...

Eric T

unread,
Jan 25, 2018, 9:13:02 AM1/25/18
to General Open edX discussion
Hi Ankith,

Thanks a lot for sharing. I'm somewhat new to edX. How would I go about installing such a 3rd party player to be used on edX?
Reply all
Reply to author
Forward
0 new messages