Doplnky pre prehliadač Firefox
  • Rozšírenia
  • Témy vzhľadu
    • Pre Firefox
    • Slovníky a jazykové balíky
    • Stránky ostatných prehliadačov
    • Doplnky pre Android
Prihlásiť sa
Náhľad témy Copy Video Frame

Copy Video Frame Autor: igorlogius

Adds a context menu entry that allows to capture a still frame image from a html video element

4.3 (3 reviews)4.3 (3 reviews)
126 používateľov126 používateľov
Na použitie tohto rozšírenia budete potrebovať Firefox
Stiahnuť Firefox a získať rozšírenie
Stiahnuť súbor

Metadáta rozšírenia

Snímky obrazovky
O tomto rozšírení
NAME

copy-video-frame - adds a context menu entry that allows to capture a still frame image from a html video element

SYNOPSIS

Hold shift and right click on a html video element to open the context menu. If the element you clicked on is a html video element the context menu will contain the "Copy Video Frame" entry. Clicking on the entry, will take a snapshot of the current video frame and save it to a popup window or to the clipboard the addon is given the permission todo so.

USER INPUTS
  • the html video element

OPTIONS

Granting the addon the optional clipboardWrite permissions will change its behavior from opening the captured frame into a new tab to copying it into the clipboard directly

REQUIRED PERMISSIONS
  • menu: used to add the menu entry
  • activeTab: used to inject the capture content function into the page context and to use the tabCapture fallback function when necessary, triggered by the user clicks on the menu entry

OPTIONAL PERMISSIONS
  • clipboardWrite: when given, skips the opening of the screenshot into a tab and direclty copies it into the clipboard instead

DEMO VIDEO

https://github.com/user-attachments/assets/5c16d6d8-1092-40fc-8f8f-a23d814de0c7

COMMON ISSUES / FAQ

I clicked on a video but the context menu doenst have the Copy Video Frame entry. What gives?

Well technically this can have a couple of reasons, but the most likely ones are that the clicked element is either not a video element or some other transparent element is overshadowing it. To get around overshadowing either the overlayed elements needs to be removed or the video needs to be brought to the front. Usually uBlock Origin's element zapperor Firefox's element inspector will be able to help here.

Can't the addon just copy the frame into the clipboard?

Yes it can. Just grant it the optional clipboardWrite permission and it will from then on directly copy the frame into the clipboard and not open a window.

Why are there video control elements visible in the captured frame?

You are likely trying to capture DRM or otherwise protected video content.
Sadly there is to my knowlege no way to access the underlying video data to access the frame data. To still provide the users with some something (aside from an not very helpful error message) that might be usable for many usecases, i decided to implement a fallback form such conent which sadly has a few drawbacks. - Please note that in many cases you can still achieve a relatively clean capture by pausing and removing undesired overlayed elements.

Why is the dimension of the frame so small, not like i expected?

For none protected content the video size should be the same as the natural width and height of the video. For protected content the display size will equal the capture size.

Why do you open the frame in a new window? Why is the copy to clipboard not the default? This is stupid nobody wants to right click twice.

I personally try to write addons with a high degree of respect for user autonomy and privacy in mind. My prefered defaults are the ones that require only necessary permissions to get a task done in a resonable manner. So i opted to not require the clipboardWrite permission since users can already right click on any image and copy it to the clipboard, which did not seem too much of an extra step if it is not done to often. But i do acknowlege that different users have different workflows and priorities so i added a optional permission switch that allows to change the default behaviour easily.
Hodnotené 4,3 od 3 recenzentov
Ak chcete ohodnotiť toto rozšírenie, musíte sa prihlásiť
Doplnok zatiaľ nie je ohodnotený

Hodnotenie bolo uložené

5
2
4
0
3
1
2
0
1
0
Prečítajte si 3 recenzie
Povolenia a údajeĎalšie informácie

Voliteľné povolenia:

  • Vkladať údaje do schránky
Ďalšie informácie
Odkazy doplnku
  • Domovská stránka
  • Stránka podpory
Verzia
1.1.15
Veľkosť
28,34 kB
Posledná aktualizácia
pred 11 dňami (15. sep 2025)
Príbuzné kategórie
  • Fotografie, hudba a videá
Licencia
Licencia BSD 2-Clause "Simplified"
História verzií
  • Zobraziť všetky verzie
Pridať do kolekcie
Nahlásiť tento doplnok
Ďalšie rozšírenia od autora igorlogius
  • Doplnok zatiaľ nie je ohodnotený

  • Doplnok zatiaľ nie je ohodnotený

  • Doplnok zatiaľ nie je ohodnotený

  • Doplnok zatiaľ nie je ohodnotený

  • Doplnok zatiaľ nie je ohodnotený

  • Doplnok zatiaľ nie je ohodnotený

Prejsť na domovskú stránku Mozilly

Doplnky

  • O nás
  • Blog o doplnkoch pre Firefox
  • Workshop tvorby rozšírenia
  • Centrum pre vývojárov
  • Pravidlá pre vývojárov
  • Komunitný blog
  • Fórum
  • Nahlásiť chybu
  • Pokyny pre recenzentov

Prehliadače

  • Desktop
  • Mobile
  • Enterprise

Produkty

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Súkromie
  • Cookies
  • Právne informácie

Ak nie je uvedené inak, obsah tejto stránky je dostupný pod licenciou Creative Commons Attribution Share-Alike License v3.0 alebo jej akejkoľvek vyššej verzie.