-
Notifications
You must be signed in to change notification settings - Fork 5
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
Feature: Record webpage video as a gif (or smth like this) for reporting #15
Comments
Don't think it was clear for me. You want to generate GIF's from the user interaction? Is that it? |
yeap, exactly =) |
While the page is being recorded, we can use GifW00t to generate some visual reporting, so the bug inspector (the person receiving the bug report) will be able to see actual user interaction and inspect what he did with the logs |
Bonjour, I can help by developing some integration with that: https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices :) |
I found this thing: https://developer.mozilla.org/en-US/docs/Web/API/MediaStream_Recording_API/Recording_a_media_element Only downside: very experimental Tried the following snippet for now to capture the screen: const constraints = { video: { mediaSource: "screen" }};
navigator.getDisplayMedia(constraints).then((evt) => {
console.log(evt);
const elem = document.createElement('video');
elem.setAttribute('id', 'vid');
// elem.setAttribute('srcObject', evt);
document.querySelector('body').append(elem);
document.querySelector('#vid').srcObject = evt;
document.getElementById('vid').onpause = () => {
const tracks = evt.getTracks();
console.log(tracks);
};
evt.onactive = (et) => console.log('evt', et);
}).catch(console.error) It works on Edge. If you try it on Chrome, you should call I am building a first PoC in a package for Perry |
This issue was closed by #47 . |
We can use https://github.com/yaronn/GifW00t to record the webpage interactions while the user uses the webpage, and also send them with the report.
This can also be well integrated with firebase through
perry-firebase
so we can also have nice interaction in the web panel =)The text was updated successfully, but these errors were encountered: