Continue Audio through mutliple pages
May 16, 2016 12:00 AM
Is there a way to have audio continue to play through multiple pages without breaking up the audio? So much to learn.
Thanks
undefined
Discussion (16)
There is no simple way to do that. However, you can try a complex one :)
Create a special page in front of the pages you want to have continuous audio. Place two things on the special page:
1. Web Window that links to the first "real" page and is sized to 100% of your page width and height.
2. An audio object.
Now your learners will flip through the pages INSIDE the web window, never actually leaving the special page you created. Therefore, the page never reloads. Therefore, the audio object that you play on this will play continuously.
As I said, this "hack" is tricky and might not work properly with complex objects (e.g. a quiz placed inside a web window is not guaranteed to work). You will also need to employ variables to know when to actually leave the special page and continue with the course.
Sergey's suggestion is one way to do it. Another way might be to have multiple groups on a page and show and hide each group as if they were individual pages. I once used this technique to fake auto-playing of media on mobile devices.
John Blackmon showed the upcoming One-Page publishing feature on Luc2016. Extra benefit of the White Flash killer might be continiuos audio. For that we have to wait and see though...
Every time I become slightly frustrated with Lectora, work arounds like this remind me what a great tool we have.
It seems for every issue or problem, there are multiple ways to make it work.
@ Nick Williams... no need for frustration when using Lectora i do think. Allthough the tool ( as any tool ) has its limitations...due to its openness and the help of a lot of users in this community you can get anything done in a dozen different approaches. Just ask here...and someone will help for sure.
Being back home now from LUC2016 i got 2 things i wanna try out/setup sometime soon... talking with and listening to other users.
- Creating a Lectora .awt from excel through scripts
Been talking to several users, in my own presentation, but also in others...that apparently would like that. I am sure it is possible. Might make a series of articles on this to follow...
-Creating a virtual reality environment in Lectora from images.
Followed the presentation for virtual reality of our Mexican collegues. They used Google tools to create a virtual environment inside a html extension. For video that was perfect. One question from the audience was...can i do the same with images? Offcourse was the answer. But the workflow for that with images might be a bit overkill.... So gonna do some tests to create something alike with one spherical image in Lectora. Then you have a nice workable setup.
undefinedmnotermans5114undefined
Math, for the "Creating a Lectora .awt from excel", what would the Excel consist of?
Regards, Peter
@Peter... im starting a new thread on this ( Excel2Lectora ) ... so all can post their 5-cents and opinions...
Hello community,
I really need help on getting audio to play continuously from page to page and cannot seem to get this to work. I'm on the newest version 17.0.2. Any suggestions...sure wish there was an easy way to do this item as we need to turn on/off audio alot and it doesn't seem like it can be done in Lectora (I am probably missing something).
Thanks gang!
Billi
undefined
Hi Billi, Sure you can call me or Skype ( Skype id: math.notermans )
If you plan using Lectora 17 i do need to test it first with 'seamless play' active.
For Lectora 16 i know it works. Both Wendy's approach as mine....more or less the same.
Is there not at all a method to privately message a user on the community ?????
@ Math - nice work. I really love all you contribute! I trying to figure out how this can work for me now and especially later. So many awesome, creative people in the community. I really do appreciate all you do!
Billi
Hi Wendy an Math,
I am not following how to do this, would it be possible to have an example or talk on the phone?
undefined
Thanks
Billi
I have to do some tests in version 17 if and how to get it done there... for version 16 and before i would suggest to use Wendy's suggestion. A one page setup making groups of each page... or making a big one page clipping the view to a single page and then move the complete page for a next/preview..
Do think the one page setup works good for smaller courses, bigger ones version17 is best i guess...
If i got some time, i will make samples...
Some other things I have tried with no successful, but maybe something just need to be tweaked.
- Trial #1
- Tried Sergey's idea and placed a web window page in a separate page but cannot get it to work (at least in ver 17)
- Trial #2
- put the audio at the global level
- on the first page added a web window that is the full size of the page
- put an action on the first page to play the audio
- put an action on the Global Next button to Pause the audio when clicked
- then on the next page put an action to play (but that just replays the audio from the beginning)
- Trial #3
- Put the audio in a popup window
- Called to action on the first page
- Audio does popup and continues to play the audio throughout the course
- Tried to put a close popup on the Global exit button but that didn't work and user sees the popup
- Any suggestions are welcome
Other suggestions are welcome...is there a way to do this with JavaScript? Keep in mind this is not something I know how to do. :-)
thanks
Billi
Created a quick sample of my solution. Not 100% perfect, some images not showing, but well the audio keeps playing from page to page... Have fun Billy. This is for Lectora 16, i tried to get something alike done in L17, but that didnot work because 'seamless play' is used quite differently.
http://community.trivantis.com/shared-content/continuous-audio/
About Trial 1:
In the past i already made a sample using the technique Sergey describes. Should work perfectly also in Lectora 17.
Just add an audio file to the base page or globally and it should play while you go through the pages showing in the webwindow. You do need to publish the pages in the webwindow and then show the html in it.
http://community.trivantis.com/shared-content/lectora-player-with-page-2-page-transitions/
Math
To close a popup window from its original parent you can use Javascript like this to get it done:
//Stores our opened window
var windowOpened;
//Opens our Window
function openWindow() {
windowOpened = window.open("http://www.microsoft.com",
"ChildWindow", "height=600,width=300");
}
//Closes the window
function closeWindow() {
windowOpened.close();
}
undefined
If i got some spare time i will make a working sample..busy with projects atm...
Discussions have been disabled for this post