Dodatki do przeglądarki Firefox
  • Rozszerzenia
  • Motywy
    • do Firefoksa
    • Słowniki i pakiety językowe
    • Inne strony
    • Dodatki na Androida
Zaloguj się
Podgląd „Video Plus”

Video Plus Autor: NiklasG

This add-on increases the display size of videos by removing unnecessary padding bars.

4.2 (9 reviews)4.2 (9 reviews)
67 Users67 Users
Potrzebujesz Firefoksa, aby używać tego rozszerzenia
Pobierz Firefoksa i to rozszerzenie
Pobierz plik

Metadane rozszerzenia

Zrzuty ekranu
O tym rozszerzeniu
So you want to watch that wide screen video on the entire surface of your 21:9 screen? No such luck if the uploader of the video for some reason decided to add black padding bars, which are not noticed on 16:9 screens. On a wider screen, you are stuck with black bars on all 4 sides of the video. For example a 21:9 video padded to 16:9 on a 21:9 "ultrawide" screen wastes mode than 40% of the screen on black bars — and this is very common for example for music videos on YouTube or older movies.

This extension changes that. While a video is played, it keeps scanning it for padding bars and zooms the video to crop of the edges as far as it is possible without stretching it or pushing content out to the sides. All black bars are effectively removed.


Technical note:

To do its magic, this extension needs to know the actual dimensions of the video without padding, and the maximum area the video can cover without colliding with other page elements. Both can change without explicit notice, and for the former there isn't even a direct way to get it.
This extension therefore takes considerable shortcuts to keep the CUP usage low:

- The actual video dimensions (ignoring any added padding) have to be read from video frames:
  - Check whether the color is uniform along each edge, and if it is, probe how far inward that solid color goes.
  - This is probed at three places along each edge and the minimum of these probes is seen as padding in that frame and is cropped off.
- That check has to be performed on individual frames and, due to the way video streaming works in browsers, cant be done ahead of time (without considerable overhead and complications).
- As to not rely on a single frame that may not represent the entire video, the check is repeated every 0.3 to 2.5 seconds, depending on the previous rate of changes.
- To prevent stuttering due to frequently changing video zoom levels and positions, a delay of 5 seconds (configurable) is added before fully updating the video size.
- In addition to that, the screen area that is available for the video may change. This is re-evaluated after a number of user <--> page interactions.


Permissions used:

- "Access your data for all websites", "Access browser tabs" and "Access browser activity during navigation": This extension can be configured (see its options page) to work on every website, so it needs to know when they are loaded and be allowed to access them. It only does that for the pages you chose (youtube.com by default) and will never send data anywhere.
- "Display notifications to you": Tell you when something goes wrong, (so you should never see this ;) ).
Oceniony na 4,2 przez 9 recenzentów
Zaloguj się, aby ocenić to rozszerzenie
Nie ma jeszcze ocen

Zapisano ocenę w gwiazdkach

5
5
4
2
3
1
2
1
1
0
9 recenzji
Uprawnienia i daneWięcej informacji

Wymagane uprawnienia:

  • Wyświetlać powiadomienia
  • Mieć dostęp do kart przeglądarki
  • Mieć dostęp do aktywności przeglądarki podczas nawigacji
  • Mieć dostęp do danych użytkownika na wszystkich stronach
Więcej informacji
Strony dodatku
  • Domowa
  • Pomoc
Wersja
0.1.7resigned1
Rozmiar
105,83 KB
Ostatnia aktualizacja
rok temu (25 kwi 2024)
Powiązane kategorie
  • Zdjęcia, muzyka i filmy
  • Gry i rozrywka
Licencja
Mozilla Public License 2.0
Historia wersji
  • Wszystkie wersje
Dodaj do kolekcji
Zgłoś ten dodatek
Więcej rozszerzeń od: NiklasG
  • Nie ma jeszcze ocen

  • Nie ma jeszcze ocen

  • Nie ma jeszcze ocen

  • Nie ma jeszcze ocen

  • Nie ma jeszcze ocen

  • Nie ma jeszcze ocen

Strona domowa Mozilli

Dodatki

  • O serwisie
  • Blog dodatków do Firefoksa
  • Warsztat rozszerzeń
  • Strefa autora
  • Zasady programistów
  • Blog społeczności
  • Forum
  • Zgłoś błąd
  • Wytyczne recenzji

Przeglądarki

  • Desktop
  • Mobile
  • Enterprise

Produkty

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Prywatność
  • Ciasteczka
  • Kwestie prawne

O ile nie wskazano inaczej, treść tej strony jest dostępna na warunkach licencji Creative Commons Attribution Share-Alike w wersji 3.0 lub nowszej.