Highlighted

How to stop an embedded youtube video

New Here ,
Jan 09, 2018

Copy link to clipboard

Copied

I am using a button to show/hide a webobject, which is a youtube video. The hide command does not stop the video audio, causing the video to disappear (which is ok) but the audio continues forever..
I am using the webobject insert feature, not the youtube learning interaction plugin.

Views

335

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

How to stop an embedded youtube video

New Here ,
Jan 09, 2018

Copy link to clipboard

Copied

I am using a button to show/hide a webobject, which is a youtube video. The hide command does not stop the video audio, causing the video to disappear (which is ok) but the audio continues forever..
I am using the webobject insert feature, not the youtube learning interaction plugin.

Views

336

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jan 09, 2018 0
Engaged ,
Jan 17, 2018

Copy link to clipboard

Copied

I haven't worked with Youtube but posted something about Vimeo. I'm sure Youtube has a similar function. 

https://elearning.adobe.com/2017/12/end-of-video-events-with-vimeo/

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 17, 2018 0
New Here ,
Jan 17, 2018

Copy link to clipboard

Copied

Jeremy, the Javascript method works fine. The issue I have is with productivity. I just want to stop a youtube video - don't need it to do automatically, or show a message when it finishes...that's something that should be a lot simpler. It behaves like a bug: you program the object to hide, it hides, but the sound continues in the background...very annoying.

My workaround has been to insert a new slide, with the video object in it, which will open when user clicks on the original play button. The closing button just takes user to previous slide. It works fine. But still, lots of workarounds here.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 17, 2018 0
Engaged ,
Jan 17, 2018

Copy link to clipboard

Copied

That does sound like a lot of workarounds.  I think the hide function wouldn't stop the video.  You probably need to clear the webobject completely to stop the audio. 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 17, 2018 0
Advocate ,
Sep 27, 2020

Copy link to clipboard

Copied

Hi Jeremy,

good idea, that would be the solution so stop video and audio. But how? Do you have an approach, how to achieve that? Advanced Actions? Javascript?

Klaus

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 27, 2020 0
kdmemory LATEST
Advocate ,
Sep 28, 2020

Copy link to clipboard

Copied

Ooops, didn't realize that this was a communication from Jan 2018. Not the first time that I wanted an answer from Jeremy Shimmerman, but he vanished from this community in Nov 2018. Forget it please.

Klaus   

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 28, 2020 0
New Here ,
Jun 05, 2019

Copy link to clipboard

Copied

Hello Julio.  Did you ever resolve this issue?  I'm looking to do the same thing.  I'd like the youtube video to pause when the video beomces hidden.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 05, 2019 0
New Here ,
Sep 27, 2020

Copy link to clipboard

Copied

Hi Julio. I'm having the same problem - did you ever find a 'quick fix'? Thanks

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 27, 2020 0