XML : Script for art project, that let a video call and start another video when it has finished playing

I'm writing on behalf of my two artistic friends Kasper & Carlos, who would like to make an online art project with videos.

The setup is really simple: there are two placeholders/containers/div's containing a video each. The first starts playing - and when it has finishied it should 'call' and start playing another video/url in the other container/div. When this has finished it should 'call' another video into the first container/div - and so it continues and the videos seem to have a kind of a 'ping-pong' with eachother.

You can see the webpage as it look like at the moment: http://108.179.192.45/~weare572/index.htm

I'm imagining a script calling a list or xml file saying something like this:

Start play video no. 1 in div 'A'. When current video stops, start playing video no(current + 1) in div 'B'. When current video stops, start playing video no(current + 1) in div 'A'. When no more videos/url's on the list, start play video no. 1 in div 'A' again.

I hope it makes sense.

I have been looking for a solution but I have only found a partial script that may be helpfull: Detect when mobile Safari stops playing a video because a second video starts

Is there anyone who would like to give this a shot? :)

If you have any questions please tell me.

Thanks in advance

Kind regards, David.

No comments:

Post a Comment