Project

General

Profile

Bug #7211

Audio autoplay from questions on results page (modification of refs BT#7939)

Added by Andre Boivin about 5 years ago. Updated over 4 years ago.

Status:
Bug resolved
Priority:
Low
Assignee:
Category:
Exercises
Target version:
Start date:
17/07/2014
Due date:
% Done:

100%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

line 2434 :
$exercise_content = preg_replace('/autoplay[\=\".+\"]+/','',$exercise_content);

line 2435 Add autostart in exercice.lib.php

$exercise_content = preg_replace('/autostart[\=\".+\"]+/','',$exercise_content);

Associated revisions

Revision 3e2929bd (diff)
Added by Yannick Warnier over 4 years ago

Add autostart filtering for exercises results page - refs #7211

History

#1

Updated by Yannick Warnier almost 5 years ago

  • Target version set to 1.10.0
#2

Updated by Yannick Warnier over 4 years ago

  • Status changed from New to Needs more info
  • Assignee set to Andre Boivin
  • % Done changed from 0 to 20

André, the goal is to "remove" the autoplay in both cases (autoplay and autostart), right? I'm asking because your comment says: "Add autostart in exercice.lib.php"

#3

Updated by Yannick Warnier over 4 years ago

(in 1.10.x, the first line is exercise.lib.php::display_question_list_by_attempt() +3487)

#4

Updated by Andre Boivin over 4 years ago

  • Assignee changed from Andre Boivin to Yannick Warnier

effectivement, c'est de supprimer l'autostart et autoplay des exercices. Mais comme c'était géré dans learnpath.class.php par $autostart_audio = 'true'; que j'avais remplacer par false, les quiz avec autoplay démarrait l'audio automatiquement.
À mon avis les autoplay autostart ne devraient jamais être automatique

#5

Updated by Yannick Warnier over 4 years ago

  • Status changed from Needs more info to Bug resolved
  • Assignee changed from Yannick Warnier to Andre Boivin
  • Priority changed from Normal to Low
  • % Done changed from 20 to 100

Voilà, appliqué dans 1.10.x. Merci!
Je te la réassigne, mais c'est juste pour t'attribuer le mérite d'être celui qui l'a résolu.

Also available in: Atom PDF