I don´t get any progress report in Adapt on the webObject component.
Is there anything I should add to the code to get this?
This is mainly the progress inside the chapter and on the mainmenu page.
Danne/
I don´t get any progress report in Adapt on the webObject component.
Is there anything I should add to the code to get this?
This is mainly the progress inside the chapter and on the mainmenu page.
Danne/
Hi Dan,
Do you mean that there is no entry for the webObject on the menu in the drawer? Adding the "page-level-progress" to the component has enabled me to see it in the menu.
"_pageLevelProgress": {
"_isEnabled": true,
"_isOptional": false
}
You are right it shows up in the menu and is clickable but it dosen´t register any progress!
And I have tried to add the _pageLevelProgress code with no result!
D
I´m using the webObject component, wonder why it dosen´t connect with the _pageLevelProgress?
D
Hi Dan
The webObject component was written with the idea that content shouldn't be considered complete just because it has been loaded. With any of the other plugins for adapt that could handle html5 content, as soon as the page loaded, the section was considered to be complete. The only way around this is to have a component that will listen to the content for a sign that it is done. The webObject listens out for a variable called parent.triggerVar, and when this is equal to 1, the completion status is set. This means that if you are using trickle, trickle will not fire until this condition has been met. It also means that the content will not be marked as complete until this condition has been met.
If you include a simple piece of javascript at the end of your html5 piece that sets parent.triggerVar = 1, then both should fire fine (by the way, in case you're not used to javascript, this is vase sensitive).
Hope this helps
Paul
Yes, I think this a awesome idea!
Just keep it that way.
Now I´m using it as an vimeo player for the movies I want to connect from the web.
It´s just a vimeocode. Perhaps there is possible to add the javascript at the end of the url!?
D
Note sure if this helps - but we recently updated contrib-media to have much better support for Vimeo videos... including only marking the component as completed when the video reaches the end.