# How do I capture the video for the current tab?

**URL:** <https://discourse.mozilla.org/t/how-do-i-capture-the-video-for-the-current-tab/28696>\
**Category:** Development\
**Created:** [May 18, 2018, 11:14am UTC](https://discourse.mozilla.org/t/how-do-i-capture-the-video-for-the-current-tab/28696 "2018-05-18T11:14:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandeepedara](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@sandeepedara](https://discourse.mozilla.org/u/sandeepedara)\
**Post date:** [May 18, 2018, 11:14am UTC](https://discourse.mozilla.org/t/how-do-i-capture-the-video-for-the-current-tab/28696/1 "2018-05-18T11:14:55Z")

</div>

Hi,

Is there an equivalent for the chrome…tabCapture.capture in firefox.  
I am trying to capture the video stream for currentTab.

Regards,  
Sandeep.

---

<div class="post-metadata">

**Author:** ![NilkasG](https://avatars.discourse-cdn.com/v4/letter/n/0ea827/32.png) [@NilkasG](https://discourse.mozilla.org/u/NilkasG)\
**Post date:** [May 18, 2018, 4:13pm UTC](https://discourse.mozilla.org/t/how-do-i-capture-the-video-for-the-current-tab/28696/2 "2018-05-18T16:13:33Z")

</div>

If it is not listed on [https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Browser\_support\_for\_JavaScript\_APIs](https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Browser_support_for_JavaScript_APIs) it doesn’t exist (yet).  
You may want to search bugzilla, but for now the best you can get is sceenshors (or maybe something you can cook up with canvas in the content context, but I doubt that would be faster).

---

<div class="post-metadata">

**Author:** ![lidel](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/lidel/32/30685_2.png) [@lidel](https://discourse.mozilla.org/u/lidel)\
**Post date:** [May 19, 2018, 9:43pm UTC](https://discourse.mozilla.org/t/how-do-i-capture-the-video-for-the-current-tab/28696/3 "2018-05-19T21:43:45Z")

</div>

Relevant ticket:

- [Bug 1391223 - Implement tabCapture API](https://bugzilla.mozilla.org/show_bug.cgi?id=1391223)

---

<div class="post-metadata">

**Author:** ![sandeepedara](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@sandeepedara](https://discourse.mozilla.org/u/sandeepedara)\
**Post date:** [May 22, 2018, 7:24am UTC](https://discourse.mozilla.org/t/how-do-i-capture-the-video-for-the-current-tab/28696/4 "2018-05-22T07:24:06Z")

</div>

Thanks @lidel and @NilkasG
