Stop YouTube on click

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
thisazlife
 
 
Posts: 71
Joined: Mon Apr 24, 2017 4:19 am
Location: Chandler, AZ USA
Contact:

Stop YouTube on click

Post by thisazlife »

I am trying to show a youtube video and then stop it and hide it when you click the X object. I have X object set to onclick, stop media "youtube object ID name" but it doesn't stop. How do I stop youtube from continuing to play after I hide the object? Thanks so much!
Steve Colbeth
Arizona Real Estate Agent / Consultant
http://stevecolbeth.com
me@stevecolbeth.com
Chandler, Arizona - USA
User avatar
BaconFries
 
 
Posts: 5648
Joined: Thu Aug 16, 2007 7:32 pm

Re: Stop YouTube on click

Post by BaconFries »

Not exactly what you asked but might point you in the right direction.
http://jsfiddle.net/ZcMkt/
User avatar
Pablo
 
Posts: 22489
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Stop YouTube on click

Post by Pablo »

How do I stop youtube from continuing to play after I hide the object?
Did you enable JS API in the YouTube properties?
thisazlife
 
 
Posts: 71
Joined: Mon Apr 24, 2017 4:19 am
Location: Chandler, AZ USA
Contact:

Re: Stop YouTube on click

Post by thisazlife »

Yes, it defaulted checked and I tried unchecking it as well. I figured out a work around by downloading the YouTube video and using HTML5 Video instead, not ideal but it is working.
Steve Colbeth
Arizona Real Estate Agent / Consultant
http://stevecolbeth.com
me@stevecolbeth.com
Chandler, Arizona - USA
Post Reply