General questions and topics about Xerte Toolkits that don’t fit anywhere else.

adding sound onto MCQ intruction box

  • epikinon
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
9 jaren 6 maanden geleden - 9 jaren 6 maanden geleden #4209 door epikinon
adding sound onto MCQ intruction box werd gestart door epikinon
Hi,

Using OTK 3.3 and trying to add an mp3 into the MCQ instruction box. How can this be done?

Appreciate it.

Alex
Laatst bewerkt 9 jaren 6 maanden geleden door epikinon.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
9 jaren 6 maanden geleden #4210 door ronm
Beantwoord door ronm in topic adding sound onto MCQ intruction box
The MCQ page type is only a single question so the easiest way to add audio would be to use the narration option and then just upload your audio via that option. However if you're prepared to add a bit of code via source view you can add audio anywhere. e.g.
1. upload the audio via the narration option to get the mp3 on the project folder.
2. Delete the narration option - it won't delete the file from the media folder.
3. In the Instruction text box switch to source view and add a div to hold the player and then script to add the player e.g.
Code:
<div id="audioHolder1"></div> <script>$("#audioHolder1").mediaPlayer({type: "audio",width:"200px",source: FileLocation+ '/media/youraudiofile.mp3'});</script>
HTH
Ron

Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • epikinon
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
9 jaren 6 maanden geleden #4211 door epikinon
Beantwoord door epikinon in topic adding sound onto MCQ intruction box
thank you Ron,

your reply sparks another question. Is it possible to ftp into the project folder?

Alex

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
9 jaren 6 maanden geleden #4212 door ronm
Beantwoord door ronm in topic adding sound onto MCQ intruction box
If you set up your server to do so yes of course but in normal use that shouldn't be needed and not really advisable - certainly not for upload if that's what you're thinking.
The time ftp access to project folders and indeed the whole installation can be useful is for retrieving and fixing issues or broken projects/xml etc but suffice to say be careful if you go that route.
HTH
Ron

Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • epikinon
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
9 jaren 6 maanden geleden #4213 door epikinon
Beantwoord door epikinon in topic adding sound onto MCQ intruction box
Hi Ron,

ftp seems to be working just fine and filezilla proves amazingly fast!

Thank you!

Alex

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • epikinon
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
9 jaren 6 maanden geleden #4217 door epikinon
Beantwoord door epikinon in topic adding sound onto MCQ intruction box
Hi Ron,
Could I include a second mp3 in my instruction container? Your suggestion for the first one worked. Tried copying and pasting the same script making the necessary changes but no luck.
Any clues?
Thank you!
Alex

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Moderators: ingdon
Tijd voor maken pagina: 0.270 seconden
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo