-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Video not playing #23
Comments
@DariusLLL Chromium does not support MP4 format. You need to use Chrome if you want to record MP4. You can use --executable-path config parameter to use Chrome. |
I know that and I used chrome. |
@DariusLLL Your slider doesn't use the native |
Hi @DariusLLL, thanks for filing this. I took a quick look at it, and it does look like the library you're using is adding a video element to the page, but it's unclear to me why you're encountering this issue. Could you post the simplest version of this issue, with a video that Chromium can play (e.g. a |
Hi Tungs, |
I am now having an issue with this as well. The page starts with an empty div and then JS kicks in to place the video tag on the page, with something like:
The code is working in chrome without issue but when using timesnap to record it the video never plays. In fact the first frame does not even show. @tungs btw kudos on the awesome package, this project is super cool! Edit: I just noticed the post from @videowala above, so maybe this is just an issue because the video is MP4. The version of chromium that we are using has been compiled with |
I did some more testing and found the following:
|
Further to my last comment, I worked out what the issue was - or at least in our case. I was serving the videos from S3 via an API Gateway proxy and I was missing the following response headers: This stopped the video from seeking and so the "seeked" event never fired and the pendingSeekable promise never resolved. As soon as those headers were present on the video file's HTTP response timesnap happily captured all of the frames. So in my case this definitely wasn't a timesnap issue. |
@adamdama Hi, I'm trying to do something and trying to figure out if you did the same thing. Were you using timesnap to record javascript animations on top of an MP4 background? For context in case it helps you help me, I am trying to record lottie animations. from after effects, with an MP4 background of a moving graident design |
Hi,
Thank you for the wonderful library. It is very useful for us. The only problem is that we can not record html output with video. Video is not playing. We get first frame only. I believe that video recording should be working after you last commit?
slidertest.zip
Thanks.
Darius
The text was updated successfully, but these errors were encountered: