Hi, is there a way to set the slide to complette state (done icon).
I need to enable next slide button at the end of the slide.
Thanks Lukas
Hi, is there a way to set the slide to complette state (done icon).
I need to enable next slide button at the end of the slide.
Thanks Lukas
Is the end of the slide determined by elapsed time or by some sort of event that needs to be completed?
This is very simple slide… the end of the slide determined by elapsed whole time of slide 2.
I need the slide next button in the player to work in test mode, because there will be no next button on my slide.
Here is the project file:
PENNY_STAZENI-PRODUKTU_102.approj (364 KB)
Export it in test mode.
Thx
Lukas
Hi Lukas,
Please take a look at this similar thread to see if it provides the information you’re looking for or helps address your question.
Regards,
Hi. But I don’t need to change the icons in the player. I need information on what will cause the next button to be enabled in test mode. So how do I achieve the slide success status for simple slides. Thanks Lukáš
I certainly see the issue here. Unfortunately, I do not have any suggestions for you on this one.
On the one hand - I might ask about building in your own navigation and getting rid of the play bar altogether. Use your own logic for the progress. That is my default so this is an issue I have not encountered personally.
However, it seems that custom navigation is not an option.
Hopefully staff will be aware of a solution for this.
Hi, here is the solution…
Global PROJECT onload script:
console.log(‘PlayerNextFunction ENABLED!’);
let buttonListener = null;
function logButtonClick() {
const button = document.querySelector(‘.ap-button.ap-tool-next’);
if (button && !buttonListener) {
buttonListener = function() {
console.log(‘click!’);
prez.nextSlide();
};
button.addEventListener(‘click’, buttonListener);
}
}
function removeButtonClick() {
const button = document.querySelector(‘.ap-button.ap-tool-next’);
if (button && buttonListener) {
button.removeEventListener(‘click’, buttonListener);
buttonListener = null;
}
}
// Přidání příkazů do konzole
window.toggleButtonClick = function(enable) {
if (enable) {
logButtonClick();
console.log(‘click ENABLED’);
} else {
removeButtonClick();
console.log(‘click DISABLED’);
}
};
And on slides you can control when is next button allowed using scripts:
toggleButtonClick(false);
or
toggleButtonClick(true);
Put toggleButtonClick(false); to onload of slide
And then put toggleButtonClick(false); to end of the slide (you can use short silent sound and put the script to on ended event) like on picture:
Or You can put it on succes state of test or to another fulfilled state that you need
Finally, you set player settings:
Operation mode - Test - navigation: Back only:
Operation mode - Practice - navigation: Free
That is it Working for me.
take advantage
Lukas
Nice job discovering all of that!
All of my work is 100% custom nav - no playbar - but I am sure that there are others out there that may find some benefit to this.
Thanks for sharing!
In this mode, you don’t need to have controls on the screen and all controls are used on the player.
Blocking of uncompleted slides, tests and tasks works in test mode.
It was a client’s request and I must say that it is convenient for the developers too