Forum Discussion
Video play/pause toggle on click
Hey Everyone,
I have embedded a screen recording video on a slide, and would like to disable the default pause/play function that occurs when the user clicks on the video. The only work around that I have found is covering the video with a hotspot. Is there a way to disable this feature? Thanks in advance for any advice/input.
- SteveMcAneneyCommunity Member
Convert to swf, then insert as video. Unfortunately it won't be synched with the slide timeline any more though.
See the below thread on the subject:
Hi Kerry and welcome to Heroes!
You can also use the Video formatting options and unselect "show video controls" to prevent the user from clicking on the play/pause button or the video's seekbar:
- AllisonZwozdeskCommunity Member
Thank you Ashley! This is a huge help!
- KerryPCommunity Member
Hi Steve and Ashley, thank you for your replies.
Steve-
Thank you for the suggestion, but I still need to be able to sync the video to the timeline. Looks like I'll either have to leave it as is or go the hotspot route.
Ashley-
I have the player controls disabled. What I am referring to is when the user drags their mouse over the slide, specifically over the embedded video and clicks. It will pause the video if it is still in play, or replay if the video has already completed. I have the video set to remain on the timeline for the length of the entire slide.
Thanks again for the suggestions.
- ChristineHendriFormer Staff
Hi Kerry and welcome!
The best method I've seen for this is to cover the video. You don't really need to use a hotspot, but you certainly could.
In the past, I've recommended creating a shape and covering the area - then make this shape transparent.
The reason I prefer the shape is because you won't get the cursor change that occurs when you're hovering over a hotspot.
I hope that helps!
Best,
Christine
- amanda_sirianniCommunity Member
Thanks, Christine! Your solution worked for me. By adding a transparent shape to cover the entire the slide, the learner can't click on the video to pause it.
- MaureenKilgoreCommunity Member
Hi Christine!
I've just tried the shape suggestion and it's not working. When we click on the active video, the movement of the voice continues, but the video action (cursor moves) stops. Any solutions to this that you know of?
Thanks!
Maureen- VickiKnowlerCommunity Member
Hi there, thew shapes Transparency needs to be at 99% not a 100 %
- MarianLewisCommunity Member
Are you sure? My .story works perfectly at 100%. I just checked it to be certain.
- JanaGodwinCommunity Member
We used this technique which did not work either at first. We had to make the FILL a color and then make it 99% transparent, so you could not see it. Apparently, a rectangle shape without a fill becomes a border and you can click anything inside it. But giving it a FILL almost transparent changes it to a "cover" box.
However, I like Adam Yerger's suggestion below!
Hi Maureen,
Is the audio within the video or is it a separate file? Typically the hotspot or shape would need to cover the entire video - and if the audio is a separate element,they wouldn't be linked. I may not be understanding your set up either - so it may help if you're able to share a sample slide here with us.
- AdamYergerCommunity Member
Hello,
I know this is an old thread, but for the sake of anyone searching this topic, a good solution to this is to add the video to your base layer, and then create a new layer that is set to appear when the timeline starts.
- On the new layer, ensure that you have disabled the "Hide other slide layers", "Hide objects on base layer", and "Pause timeline of base layer".
- Next, make sure you have enabled the option "Prevent the user from clicking on the base layer".
This should allow your video to play in the background on the base layer, and disable the native "play/pause" when a user clicks directly on the video object. If you have other items that need to sync or work with the video layer, it would probably be best to keep them on other layers (not the base layer).
Adam
- KarynHarlow-ea3Community Member
Adam, this was really helpful but it looks like the layer I've added is gray or shaded...even though there is nothing on it. Do you have any insight on this issue by any chance?
Hi Adam,
Thanks for sharing here - even though it's old, it's always good to have new solution pop up and shared just in case anyone else comes across it.
- USCMartyCommunity Member
Adam's suggestion needs to get more credit and visibility. He just provided the most elegant solution to my issue with video. I was adding a second video with controls to a new layer, but with this method my user's no longer have to download a second video. Great work Adam!
Thanks Marty - and if you mark Adam's suggestion as "Helpful" just below his post it'll help it bubble to the top so that it's more visible to other users. Glad that it was able to get you set up as needed!