BigVideo.js icon indicating copy to clipboard operation
BigVideo.js copied to clipboard

Check for video end

Open jrdn91 opened this issue 11 years ago • 7 comments

Is there a simple way to check for the video being over. While I'm on the subject is there a way to also wait to start the video until the video has fully loaded and is ready, because I'm still seeing a black flash before the video starts playing

jrdn91 avatar Jul 23 '13 15:07 jrdn91

+1 on this. I've built in a fade in (like they use in their example) since there is that blackness before playing anyway.

joshjacobson avatar Aug 02 '13 17:08 joshjacobson

Hi @joshjacobson, what's the event handler you use to start the fadein?

kriskhaira avatar Aug 30 '13 06:08 kriskhaira

I built it into the video file directly.

joshjacobson avatar Aug 30 '13 21:08 joshjacobson

Hello. Very new to github, and am trying to understand and use bigvideo.js better. Regarding the comment above re fading in, could you please point me to the code that does this? I've had a look here but am not able to locate it.

GrantSenior avatar Sep 25 '13 00:09 GrantSenior

Ok, reading it again, you actually put a black fade in on the video itself? It's not code controlled?

GrantSenior avatar Sep 25 '13 00:09 GrantSenior

there was too many flashes going on but yes I had the last frame just transition to a blurred out frame in after effects. But check out what I'm doing here...

http://www.watermissions.org/websites/watermissions/templates/watersunday/index3.html

I set up the background image for the whole body as the first frame and had it just wait, it's a nice effect.

You could do the same thing with the last frame, I would just take the last frame, blur it and while the video is playing overtop of the body, set the new background image to that, and have the video fade out once it's done playing to the new background image on the body. That way if you don't know enough about after effects to do the effect you can still achieve it.

jrdn91 avatar Sep 25 '13 14:09 jrdn91

Hey thanks for that Jordan, your water missions example looks great and is an elegant usage of the idea. I'm planning on using the ambient looping effect, so how that would work remains to be seen, but I'll give it a try.

Grant

.....................................................................................................................................................................................................

Grant Senior

www.thewebsitedeveloper.co.nz

027 4597559

On 26 September 2013 02:29, Jordan4jc [email protected] wrote:

there was too many flashes going on but yes I had the last frame just transition to a blurred out frame in after effects. But check out what I'm doing here...

http://www.watermissions.org/websites/watermissions/templates/watersunday/index3.html

I set up the background image for the whole body as the first frame and had it just wait, it's a nice effect.

You could do the same thing with the last frame, I would just take the last frame, blur it and while the video is playing overtop of the body, set the new background image to that, and have the video fade out once it's done playing to the new background image on the body. That way if you don't know enough about after effects to do the effect you can still achieve it.

— Reply to this email directly or view it on GitHubhttps://github.com/dfcb/BigVideo.js/issues/62#issuecomment-25090397 .

GrantSenior avatar Sep 25 '13 22:09 GrantSenior