• I inserted a video link code directly into my index.php. It displays beautifully, however, I have one (HUGE) issue. After the video stops playing (or is stopped by the enduser), I want to hide the video to reveal the full page image slider underneath it. Is this something I can code directly into my index.php file using javascript? The site is created using Colorlabs Lensa theme, and the web address is:
    http://HousingOverseas.com

Viewing 10 replies - 1 through 10 (of 10 total)
  • Are you hosting the video? or is it embedded from youtube?

    Thread Starter JanetSlinkard

    (@janetslinkard)

    I’m using a hosting plugin called cincopa.

    Thread Starter JanetSlinkard

    (@janetslinkard)

    I just put it into the text overlay container for the time being. My client is in China, and his launch is scheduled for a few hours from now…I’ve been struggling with this all day.

    link to the page with the video on it?

    right now the video loops is there away to turn that off?

    Thread Starter JanetSlinkard

    (@janetslinkard)

    The video is on the homepage, which is index.php.
    housingoverseas.com
    Here is the code:

    <iframe width=”900″ height=”430″ src=”//www.cincopa.com/media-platform/iframe.aspx?fid=AAJAn4LFuBSH” frameborder=”0″ allowfullscreen scrolling=”no”></iframe><noscript><span>New Gallery 2014/8/23</span><span>height</span><span> 720</span><span>width</span><span> 1280</span><span>duration</span><span> 00:02:41.83</span><span>bitrate</span><span> 9507 kb/s</span></noscript>

    Thread Starter JanetSlinkard

    (@janetslinkard)

    I’m not sure how to keep it from looping…

    disregard that last code, though the video was hosted on your site.

    Sorry dear but because it is in a iframe which is not hosted on your site it makes it impossible to hooked an event… unless cincopa api has that functionality build into it. I just did a job kinda like this and used youtube iframe api to hook the video end event. I did a search for cincopa api for videos but didn’t find much.

    Why don’t you host the video yourself? Then you could hook the event using javascript.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘How to hide a video after it stops playing (PHP & Javascript)’ is closed to new replies.