audio and video on one layer?

Mar 21, 2014

Hi All,

I ma trying to pause the audio when the video is playing and once stopped the user can continue listening to the audio. I even tried a hotspot on the player button because when you select the player it only includes the box and not the player bar. Once the video is finished, i'd like the audio to resume where it left off.  I can get the uadio to stop on slides with no video, but also can't get it to resume playing. 

Thanks!

21 Replies
Adam Mac

Is it possible to have the audio on your base layer, and the video on another layer?

If so, simply set the video layer to ""pause timeline of base layer". This would allow your users to listen to the audio on your base layer, pause and watch your video, then return to the base layer and listen to the audio.

if it is possible to achieve this on a single layer, it may not be worth the extra work as the method described above works very well wtih minimal triggers.

Kai ...

I agree Mac. I can't use another layer and has to be triggered on this base layer. It is a nightmare. I can't hope that the user won't click the video until the audio is finished playing, that is just absurd, right?

a mac said:

Is it possible to have the audio on your base layer, and the video on another layer?

If so, simply set the video layer to ""pause timeline of base layer". This would allow your users to listen to the audio on your base layer, pause and watch your video, then return to the base layer and listen to the audio.

if it is possible to achieve this on a single layer, it may not be worth the extra work as the method described above works very well wtih minimal triggers.

Michael Hinze

Kai (Freelancer) said:

Yes thanks. 

I don't understand the video trigger?

Every time the video is clicked to pause/play it, a True/False variable ( in my example I called the variable 'Audio') is toggled. Based on the value of this variable, the slide audio is either paused (when the video plays) or played (when the video s paused).
Ashley Terwilliger-Pollard

Hi Kai,

I haven't seen a full listing of these, although I did find a good explanation of the "control losses focus" in this thread:

Think of user control as your hand. When you have your computer mouse in your hand, you are using your hand to control the mouse. When you enter information using your computer keyboard, the mouse is not in control, but now the keyboard is.

So the mouse has lost control (or control lost focus from the mouse) and the keyboard has taken control (or control has taken focus to the keyboard).

And a description from Michael  previously here of the not assignment:

The Not Assignment operator toggles a T/F variable; if it is True, it will be set to False and vice versa.

The Assignment 'Variable' option can be used to assign the value of one variable to another. For example, the value of one variable is the result of a previous calculation on an earlier slide, which you then want to assign to another variable at the beginning of another slide and then execute other calculations on it. Here are two simple examples.

There is a listing of definitions of built in states

Kai ...

Mike,

I finally had to apply your fix

Sad to say it doesn't work. I think it's because of this issue:  When I try to set the trigger " Play audio when timeline starts" It doesn't it doesn't show the audio when I have to select an object. Only the video file and all the other objects are there. Am I missing something so rudimentary?

Thanks!

Kai ...

Another observation: Keep in mind the video and audio are both on the base layer.

When the slide is “playing” (and the video is not), you click on theyellow progress bar and drag it to the left to move backward, once you releasethe yellow progress bar the video begins to play.

- When you are scrubbing the seekbar, the video automatically starts playing. Also as in my initial post the audio doesn't stop once the video start playing even when applying Mike's fix.

- The trigger is set on the video for the user to click the play button and shouldn't automatically play. 

- The slide is reset to initial state to allow for replay to start from the beginning.

- When clicking the replay button, if the audio isn't finished playing the audio basically picks up where it left off if you click replay midway through the audio playing.

I hope this makes sense? 

Kai ...

Hi All who helped on this thread before. just checking in ot see whether someone has had any luck?

I ma in the same predicament. the last project was just handed off so the client's tech team handled it and i feel like an idiot asking them what they did.

I am now in the same boat:

1. Videos on 5 layers on one slide. How do I stop the video from playing once they navigate to the other layers. They are definitely overlapping. 

Thanks!

Christine Hendrickson

Hi Kai,

Without knowing a little more about your new project, all I can really suggest is to check your layer properties. 

I'd recommend checking to ensure the option "Hide other slide layers" is enabled. If it's not, the other layers with videos may still be playing in the background. 

If you have a video playing on your base layer, you may want to enable the "Pause timeline of base layer" as well.

If you're still having trouble, please consider sharing your .story file here, so we can take a look.

Thanks!

Kai ...

Hi Christine,

I have done all of these. Still no luck. I had to place them all on different slides to prevent the over lapping.

I can't share the file unfortunately because of regulations. Thanks anyway.

Christine Hendrickson said:

Hi Kai,

Without knowing a little more about your new project, all I can really suggest is to check your layer properties. 

I'd recommend checking to ensure the option "Hide other slide layers" is enabled. If it's not, the other layers with videos may still be playing in the background. 

If you have a video playing on your base layer, you may want to enable the "Pause timeline of base layer" as well.

If you're still having trouble, please consider sharing your .story file here, so we can take a look.

Thanks!

This discussion is closed. You can start a new discussion or contact Articulate Support.