Skip to content
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

Error running code #2

Open
lcheewei opened this issue Oct 21, 2017 · 2 comments
Open

Error running code #2

lcheewei opened this issue Oct 21, 2017 · 2 comments

Comments

@lcheewei
Copy link

lcheewei commented Oct 21, 2017

First of all pls pardon me as i'm a novice programmer.

When i run the code and log the value of frame, it seems that there is no data embedded within the frame. Am i missing something?

{blob: Blob, dataUri: "data:,", format: "png"}
blob
:
Blob {size: 0, type: ","}
dataUri
:
"data:,"
format
:
"png"
proto
:
Object

@ilkkao
Copy link
Owner

ilkkao commented Oct 21, 2017

You get the { blob: blob, dataUri: dataUri, format: format } object back so it means you have correctly selected some HTML element, double check that it's a <video> element.

Also this library is not tested on IE. If you are using Internet Explorer you probably see problems.

@lcheewei
Copy link
Author

Hi! Thanks for your reply. I'm using Chrome 60.0.3112.113. I do see the video playing on Chrome, but not sure if my code has extracted out the video frames. I didn't see any image frames generated. Could you advice if the images will be saved in a directory, or how can I display the images? How do I change the setAttributes to src?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants