Device Detection for SCORM activities (Moodle 3.7)

Device Detection for SCORM activities (Moodle 3.7)

by Dave Emsley -
Number of replies: 2

Hi there,

Title says it really.   Is it possible to do device detection for a SCORM activity and present one of two SCORM packages depending on the user's device?

(PS I do know it is possible to write SCORM packages as responsive but this is using legacy packages we don't want to re-write if we can avoid it).



Best Regards

Dave

Average of ratings: -
In reply to Dave Emsley

Re: Device Detection for SCORM activities (Moodle 3.7)

by Richard Oelmann -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
I'm not sure about for the scorm activities themselves - and I don't think there is an availability release condition based on browser/device detection - although it may be possible to build one?
A possible work around may be to tweak your theme so that device detection adds a body class, which can then be used to hide/show elements based on that class.
In reply to Dave Emsley

Re: Device Detection for SCORM activities (Moodle 3.7)

by Ken Task -
Picture of Particularly helpful Moodlers

'... using legacy packages ...' does that mean shockwave flash?

If so, better off rebuilding.

'SoS'. Ken