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
Surfshark VPN : Award-winning VPN servi...
How can generative...jasonX — 09:58
Surfshark VPN : Award-winning VPN servi...
What is post-quant...jasonX — 09:50
Adobe Acrobat Reader DC 2026.001.21411
Adobe Acrobat Read...harlan4096 — 09:47
Acronis True Image 2021 Build 32010
It's been a while si...jasonX — 09:27
AntGROUP Inc. / VCap-developer
VCap Downloader ...jasonX — 09:23

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

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

>