Best practice forum (Archived)
Cette discussion de forum a été supprimée
Hi Amir,
That does sound very strange, and we've been upable to reproduce it here. Can you let me know which OS and database you are using, and also see if there's anything relevant in your error logs.
If you are able to narrow down the circumstances that cause it that would be helpful. Finally perhaps you could look in your site logs and see if there's anything scorm related that would explain it.
Simon
Hi Amir - I've just tested this on Postgres, and can't reproduce your problem.
Is there any form of caching that you are using?
What database are you on?
and -
Are you able to switch on developer debug mode and check the logs for messages especially at the point that you save the directview setting?
Cheers,
Piers Harding.
Hi Amir
Dan Marsden may know more about this - it looks like he is trying to develop a more reliable SCORM player http://moodle.org/mod/forum/discuss.php?d=152895 as the existing one does have issues with height and width settings not working consistently.
Craig
yeah - the SCORM player in Moodle 2 is quite different in a range of ways to SCORM in 1.9 and should be a lot more reliable.
I'm also not completey clear that Denise and Amir are having the same issue - Denise can you explain the issue you are seeing? - is it a display issue or is there a problem with settings mysteriously reverting as described by Amir?
Also, Denise - which version of Totara are you seeing this issue with?
I've taken another look into this, and although I'm still not able to reproduce it I have found a possible cause in mod/scorm/lib.php:
// no directview if popup
if ($scorm->popup == 2) {
$scorm->directview = 1;
$scorm->popup = 0;
}
else {
$scorm->directview = 0;
}
This seems to incorrectly set popup to "new window" when directview is being used. Removing the $scorm->popup = 0; line may fix the problem - although I can't say for sure without being able to reproduce it.
I'll include this change in the next 1.1 release - let me know if the problem is still occurring after that!
Simon