Slider Stop Rotating if User Plays Video on Page Load

Slider Stop Rotating if User Plays Video on Page Load

Closed - This job posting has been filled and work has been completed.

Job Description

I have an issue in getting the youtube API to load in time so that it works with slider script. Better if all scripts were loaded at same time so everything is ready.

Found some info on google:

https://www.google.com.au/search?q=jquery+load+youtube+api&ie=UTF-8&oe=UTF-8&hl=en&client=safari

The javascript has been applied here:

http://www.ravenswood.nsw.edu.au/ravenswood-demo/

Basically everything works except if you play youtuber video as page is loading the slider still scrolls thro whereas it should stop so you can watch video.

It only happens on the first slide..So there is an issue of downloading
the Youtube API script. IF you click on play button later as page is fully downloaded it works fine.

It works sometimes but not others.

Slider script is here: http://www.ravenswood.nsw.edu.au/ravenswood-demo/wp-content/themes/ravenswood/js/contentslider.jquery.js

and also called within head of page.