Firefox's Picture-in-Picture mode to support site-specific wrappers for improved func
#1
Information 
Quote:
[Image: firefox-picture-in-picture-youtube.webp]

Mozilla laid the foundation for site-specific video wrapper scripts in this week's release of Firefox Nightly, the cutting-edge development version of the Firefox browser.These video wrapper scripts improve the browser's Picture-in-Picture mode by adding support for site-specific controls and features, such as subtitles or captions.

Picture-in-Picture modes are supported by many modern web browsers. The mode allows users to move media playback to a standalone overlay interface that is displayed on top of the browser. Users get basic controls, e.g., to play and pause videos, and may use the browser to navigate to other tabs or pages without losing media playback focus.

Work on site-specific video player adapters started about a year ago when bug 1670108 was opened on Mozilla's bug tracking site. Main reasons for wanting to implement scripts for specific services was compatibility, as global features would sometimes cause unwanted breakage. Mike Conley, the original poster on the bug tracking site, gave an example where a simple function that would change the current time of the video would result in playback stopping on Netflix.

The introduction of site-specific solutions for Firefox's Picture-in-Picture mode brings advanced controls to the mode and reduces the chance of breakage.

Mozilla mentions four video streaming services in its announcement. According to the organization, users can expect scripts for Netflix, YouTube and Amazon, and other services that have not been mentioned in the announcement.

The latest version of Firefox Nightly includes the infrastructure that powers these site-specific video wrapper scripts. Mozilla implemented a proof-of-concept script for YouTube that syncs the mute button of the Picture-in-Picture window with the mute state of the video player on YouTube.

Mozilla will keep the functionality restricted to Firefox Nightly for now to address potential bugs and issues that are reported to the organization. The feature will then be uplifted to Firefox Stable eventually.

Closing words

Firefox's Picture-in-Picture mode will get a functionality boost out of this, especially if site-specific features such as subtitles or captions are supported by the wrapper scripts. Firefox users who use the browser's Picture-in-Picture mode will likely find the improved functionality useful, provided that sites that they use the feature on are supported by it.

Now You: do you use Picture-in-Picture mode in your browser of choice?
...
Continue Reading
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Recent Posts
[Test & Review Request] Looking for fee...
Can you at least i...LFTyyy — 14:28
Surfshark VPN : Award-winning VPN servi...
Dausos: Surfshark'...jasonX — 14:08
K-Lite Codec Pack 19.6.6 / 19.6.7 Update
Changes in 19.6.6:...harlan4096 — 07:37
AdGuard for iOS 4.5.19
AdGuard for iOS 4....harlan4096 — 07:35
Adobe Acrobat Reader DC 26.001.21431
Adobe Acrobat Read...harlan4096 — 07:34

[-]
Birthdays
Today's Birthdays
avatar (43)cdoubapKit
avatar (38)lystraPonia
avatar (31)smith8395john
Upcoming Birthdays
avatar (45)wapedDow
avatar (49)oapedDow
avatar (42)Sanchowogy
avatar (44)techlignub
avatar (43)Stevenmam
avatar (50)onlinbah
avatar (50)fuspeukChark
avatar (44)werriewWaiNg
avatar (38)Freemanleo
avatar (51)steakelask
avatar (45)Termoplenka
avatar (43)bycoPaist
avatar (49)pieloKat
avatar (43)ilyagNeexy
avatar (51)donitascene
avatar (51)Toligo
avatar (38)RobertUtelt

[-]
Online Staff
There are no staff members currently online.

>