LTI custom_force_embed| removes SCORM stop button

LTI custom_force_embed| removes SCORM stop button

by Gemma Lesterhuis -
Number of replies: 5
Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
i have an question on the use of the custom_force_embed with LTI.

One of the LTI consumers is using custom_force_embed, which works great to ensure that no Moodle menu's are showing etc. 
But we are using the SCORM + show in current window player and the custom_force_embed seems to be removing the SCORM stop button.

The strangest thing is that the client claims that this is recent change, while I cannot find any changes on the Moodle site and the LTI consumer tells nothing been changed on their site. 

Does anyone know:
  1. if there been a recent change in Moodle core of custom_force_embed in the LTI indeed impacts the Moodle Scorm player page?
  2. Is the custom_force_embed theme dependend? 
  3. where I can find more information on what custom_force_embed actually does? 
  4. if there are other custom_force that could be usefull in this case? 
we are using Moodle 3.9.17 + Foundation theme

Gemma
Average of ratings: -
In reply to Gemma Lesterhuis

Re: LTI custom_force_embed| removes SCORM stop button

by Jake Dallimore -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Hi Gemma,

1. Nothing recent, no (at least not in LTI land).
2. Using force_embed=1 just tells Moodle to run the launch using the 'embedded' page layout (the same as what students would see). Page layouts are theme dependent, yes. See https://docs.moodle.org/dev/Page_API#Page_layout
3. You can see a small summary here: https://docs.moodle.org/400/en/Publish_as_LTI_tool#Custom_launch_parameters. All that really says is what I've said above though.
4. No. This is currently the only layout-centric custom launch param.

It would be good to see what exact control is missing from the page. I'm not a SCORM expert, but as far as I can see (using a basic test package), we render an "Exit activity" button at the top right of the SCORM page, and the rest of the page content is the SCORM package itself. Is it this button you're referring to perhaps?

TIA,
Jake
In reply to Jake Dallimore

Re: LTI custom_force_embed| removes SCORM stop button

by Gemma Lesterhuis -
Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Hi Jake

Thank you, especially for the links. 

And yes, the Exit Activity is the one I mean. It is showing in the #page-header. 
I will run some test with Boost, but I am pretty sure it will show the same behavior. 

Gemma
In reply to Gemma Lesterhuis

Re: LTI custom_force_embed| removes SCORM stop button

by Jake Dallimore -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Bingo. That's exactly what I see on 3.9 and 3.11 (it's in the header, so isn't available over LTI where we don't have that). 400 moved this into the page, so that's why I wasn't seeing that there or on master. You can see this issue that changed this from the header to the page here: https://tracker.moodle.org/browse/MDL-73448
In reply to Gemma Lesterhuis

Re: LTI custom_force_embed| removes SCORM stop button

by Gemma Lesterhuis -
Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Jake,
in M3.9 Boost is behaving the same way.

But.... it seems that in M4.0 boost this is different which could be explained that it is not longer placed in the page-header class but activity-header

I am not 100% sure and will get some confirmation but well thought I would share it anyways.
Gemma
In reply to Gemma Lesterhuis

Re: LTI custom_force_embed| removes SCORM stop button

by Jake Dallimore -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Yep, it's different from 4.0 onwards (it's a navigation project change). 3.11 and earlier will have the scorm element in the page header (for reasons unbeknownst to me).

Cheers