FORUMS: list search recent posts

Transition from Video to Image

COW Forums : Web Design (Wordpress, Joomla, etc.)

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Stan Ilchev
Transition from Video to Image
on Jun 11, 2012 at 4:26:28 am

Hi Guys,

Hope someone can help me out.

What I'm trying to do is have a video play on my website (.mp4 file) and then after the video is finished playing it transitions into an image that stays on the screen forever or until page is refreshed. I assume it must be some kind of playlist-but I'm not sure exactly how to configure that.

Any help and suggestions are greatly appreciated.



Return to posts index

Curtis Thompson
Re: Transition from Video to Image
on Jun 11, 2012 at 4:55:12 pm


what embedded player are you using? or do you just have it as an embed tag? in html5 (so not supported by older browsers), there is the onended media event that you can use like this:

var player = document.getElementById('vidLayer');
player.onended = function() {
/** change the player div content or turn on a layer above it */

that in theory would work, but again only for html5 compatible browsers...otherwise, you'd have to work within a bit of player code that supported that sort of thing...

hope that helps!


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved