As i mentioned before in some posts GSAP has a timeline that controls all animation. And probably Storyline uses that timeline for its animation too. As i didnot find a way to control Storyline's timeline i made a sample showing how perfectly and easily GSAP's timelines control the speed of animations.
I know... the things i upload mostly exist of 1 page setups...so no resume anywhere. For a real course i have a setup where i have these on MasterSlides with variables checking if its loaded. If so... it skips it. I seldom use resume in the samples showing here. Users that download and reuse my tips and tricks indeed need to be aware of that indeed.
I send an email in your profile account of ELearningHeroes, I would like to contact you, do you have another contact to send an email or a LinkedIn name?
BTW I have another question, but it is for another function, do you know how a user can change the size of the closing caption by running a Java, I found some solution, but this one only works for one time.
I used:
Big size
if (!window.alteredCaptions) { var sheet = document.createElement('style'); sheet.innerHTML = ".caption{font-size:180% !important;}"; document.body.appendChild(sheet); window.alteredCaptions = true; }
Small size
if (!window.alteredCaptions) { var sheet = document.createElement('style'); sheet.innerHTML = ".caption{font-size:140% !important;}"; document.body.appendChild(sheet); window.alteredCaptions = true; }
Any advice for this?
this could be interesting for others
here is an example, to switch the CC size in the course
I been having problems with my background music, when I speed down my audio, also the music slowdown, can you help me to identify what I'm doing wrong.
One more question, is there any way to add in the code that respects the speed of audio en video playback from one slide to another, because every time I advance to the next slide the user would have to click on speed +/-, right now it just works with audio, but if I have both this doesn't work :(
34 Replies
you have a big problem with loading your custom libraries - they are only loaded if the learner starts your course the first time
with resume enabled your first page with your initialisation will never started
I know... the things i upload mostly exist of 1 page setups...so no resume anywhere.
For a real course i have a setup where i have these on MasterSlides with variables checking if its loaded. If so... it skips it. I seldom use resume in the samples showing here. Users that download and reuse my tips and tricks indeed need to be aware of that indeed.
Nice one Jurgen !
Hi Jurgen,
Thank you for the help, but still not working :(
do you have the two line patch on the right position?
the lines had to be added AFTER the publish
Hi Jurgen,
I send an email in your profile account of ELearningHeroes, I would like to contact you, do you have another contact to send an email or a LinkedIn name?
Thank you.
I have read your email and your question was
this could be interesting for others
here is an example, to switch the CC size in the course
https://360.articulate.com/review/content/64b7f0b8-1cdc-4918-80bf-12eaf86edd11/review
prepare script -> on timeline starts - on every page* which uses CC (because of resume course)
the button script (for 180%)
the button script (for 140%)
the button script for reset size
to set "CC on"
if you wan't to store the state of the CC size - use a variable
* or once in story.html/index_lms.html or at the end of user.js
This post was removed by the author
Hi Jurguen,
I been having problems with my background music, when I speed down my audio, also the music slowdown, can you help me to identify what I'm doing wrong.
One more question, is there any way to add in the code that respects the speed of audio en video playback from one slide to another, because every time I advance to the next slide the user would have to click on speed +/-, right now it just works with audio, but if I have both this doesn't work :(
Please!!!!
first problem - the button script in the slidemaster
wrong:
correct:
second problem: audio is working correct after slider change - your script is correct
BUT: you have to update the navigation button also (on timeline start on every slide)