Device Detection for SCORM activities (Moodle 3.7)

Device Detection for SCORM activities (Moodle 3.7)

de 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

Promeyo de puntuacions: -
In reply to Dave Emsley

Re: Device Detection for SCORM activities (Moodle 3.7)

de Richard Oelmann -
Imachen de Core developers Imachen de Particularly helpful Moodlers Imachen de Plugin developers Imachen de 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.