Search code examples
firefoxfirefox-addonfirefox-addon-sdkmozillasession-replay

Record Firefox Web Browser session from my mozilla addon


I am developing a mozilla addon and now I have to record the browser session for a specific time as a video and sent it to the server. The recording of the web session will be triggered and stopped from my addon. How would I record the web session? Whether any jquery plugins are need to be added to my addon or is there any other source that addon sdk provides?


Solution

  • I got this working in an addon with about: pages, but I had to trick it into thinking it was https. The addon is a 27mb due to the inclusion of ffmpeg.js for converting video to different formats. So right now to download it you have to from my dropbox - https://www.dropbox.com/s/soemrqn2smmcge2/dist.xpi?dl=0

    The code is here on github - https://github.com/Noitidart/Screencastify/

    I used webrtc.