Hallo ich habe eine between subject experiment. Eingestellt mittels Zufallsgenerator. An einen der beiden Zettel möchte ich eine Audiofile abspielen. Beim anderen Zettel soll das Audiofile nicht abspielen. Wie mache ich das?
mein php code:
if (value('KI04') == 1) {
text('KI06');
} elseif (value('KI04') == 2) {
text('KI05');
}
und mein html code:
<audio id="audio_with_controls" preload="auto" autoplay controls controlsList="nodownload">
controls controlsList="nodownload">
<source src="AudioImagination.mp3" type="audio/mpeg" />
<source src="AudioImagination.ogg" type="audio/ogg" />
Your browser is not able to play this audio file
</audio>
--> in der Fragebogen zusammenstellung eingebaut.
Danke!