Forum Discussion
Stopping video from playing when another video is selected
Greetings Heroes!
I have 4 small videos embedded into 4 separate layers in a 360 course. I want to keep the controls at the bottom, but I noticed if you click on the base layer and select another video (layer) the last one keeps playing.
I can't figure out how to keep the start, stop and pause controls intact (not covering them with hotspots) as well as ending the video when another layer is selected.
Does anyone have any elegant solutions?
Thank you!
Victoria
- VeronicaBudnikaSuper Hero
Can you share your file by any chance?
What's on the base layer? Buttons to each layer? When you say you want to keep the controls at the bottom, what do you mean? at the bottom of each video, or at the bottom of the base layer? or something else?
- VictoriaSubl967Community Member
Jurgen discovered the problem! See his response below. I changed the timeline and it all works now :-)
- VictoriaSubl967Community Member
Hi Veronica!
Sure, attached.
What I mean is that I want it to work like it is designed to (without a heap of hotspots and fake controls) but have some kind of trigger or programming that stops the video from playing when you exit the layer.
- VeronicaBudnikaSuper Hero
Hey Victoria,
I can see what you mean, and it is very strange. This should work like you expect pretty much automatically. I checked the layer properties, etc and all seems fine. Interestingly, while you can still hear the audio from the other videos when you click on a different video, if you return to the layer, the layer sets to initial state. Very weird.
So, I made a duplicate of the slide in another scene, and just removed all the other triggers (variables and what not) and left it just so the 4 buttons go to each layer on click, and, it works as expected. I'm not sure which or what to be honest, but something was making the audio still play when you left the layer??
I'm attaching the file again, have a look at the second scene. Obviously this is not ideal, but from that starting point you might be able to work out where it goes wrong as you add the triggers you need.
Sorry this took so long, the Friday and weekend caught up with me :)
- VictoriaSubl967Community Member
Hi Veronica,
I finally got my Storyline updated and I hid all of the triggers, but it still overplays. I will have to investigate further, I suppose.
Thanks again for being a hero!
- VictoriaSubl967Community Member
Thank you so much, Veronica. I am now thinking it has something to do with my computer updates. I noticed I am not on the latest version of Storyline 360, so perhaps this issue has been fixed and it isn't working because I am on an old version.
My computer was reimaged and the updates have not installed yet.
- VictoriaSubl967Community Member
I will try again once I get the updates installed. Glad you had a look, though, @Veronica, as at least I know I haven't done anything wrong.
- VictoriaSubl967Community Member
I will try again once I get the updates installed. Glad you had a look, though, @Veronica, as at least I know I haven't done anything wrong
- VeronicaBudnikaSuper Hero
Sure, try again once that's done; I'll say, though, that mine is updated and I did experience the same issue as you did, and it only worked correctly once I removed the other triggers. Anyway, see how you go, good luck!
- VictoriaSubl967Community Member
Oh - that IS interesting. OK, I will try again and mess around with the triggers.
Thank you so much for your help!
- VictoriaSubl967Community Member
I've updated my Storyline to v. 366, I've deleted all of the triggers, and the videos still talk over each other.
Does anyone know how to fix this?
- Jürgen_Schoene_Community Member
the timeline of the slide layer seems is to short
the correct length of the layer has to be the start time of the video + video lengthoriginal:
fixed:
(for all 4 videos)
result:
https://360.articulate.com/review/content/c2772195-78c0-4cfe-9853-3af6f8e86e2f/review=> no multiple audios at the same time
Jürgen
- MathNotermans-9Community Member
When you add a new video Storyline will automatisch set the lengte of the timeline to the max lengte of that video. However if you change the video ( particularly with a video that is shorter or longer) the timeline lengte will not be adapter. Thus your new video will not play properly. This is an annoying issue you really need to be aware of when working with video.