frame-extractor.com - Firefox is not a supported browser
Categories
(Web Compatibility :: Site Reports, defect, P3)
Tracking
(Webcompat Priority:P2, Webcompat Score:5, firefox129 affected, firefox131 affected)
People
(Reporter: ctanase, Unassigned)
References
(Depends on 2 open bugs, )
Details
(Keywords: webcompat:platform-bug, webcompat:site-report, Whiteboard: [webcompat-source:web-bugs])
User Story
platform:windows,mac,linux,android impact:blocked configuration:general affects:all branch:release
Attachments
(2 files)
Environment:
Operating system: Windows 10
Firefox version: Firefox 129.0/131
Steps to reproduce:
- Go to https://frame-extractor.com
- Observe the page.
Expected Behavior:
The browser is supported.
Actual Behavior:
Unable to use the frame extraction feature, unsupported message displayed instead.
Notes:
- Reproduces regardless of the status of ETP
- Reproduces in Firefox Nightly, and Firefox Release
- Does not reproduce in Chrome
Created from https://github.com/webcompat/web-bugs/issues/140548
| Reporter | ||
Comment 1•1 year ago
|
||
| Reporter | ||
Updated•1 year ago
|
Comment 2•1 year ago
|
||
Seems like they do feature detection, UA spoofing doesn't seem to work. We should try to figure out which API they spoof on.
Comment 3•1 year ago
|
||
This depends on MediaStreamTrackProcessor method
export async function getTrackReader(video) {
await video.play()
const userAgent = navigator.userAgent
let stream = null
try {
if (userAgent.indexOf('Firefox') > -1) {
stream = video.mozCaptureStream()
} else {
stream = video.captureStream()
}
} catch (e) {
return
}
const [track] = stream.getVideoTracks()
await video.pause()
if (!track) {
return
}
try {
const processor = new MediaStreamTrackProcessor(track)
return processor.readable.getReader()
} catch (e) {
return
}
}
async function checkCompability() {
const sampleVideo = getVideo('sample.mp4')
const sampleReader = await getTrackReader(sampleVideo)
if (!sampleReader) {
setShowUpload(false)
}
}
I've also attached a testcase.
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 4•1 year ago
|
||
Hi, I'm the creator.
I've since added some polyfill and now it's working in FF.
| Reporter | ||
Comment 5•1 year ago
|
||
I can confirm, it works on both FF Release and Nightly and I can upload and extract frames without any issues.
Verified, works as expected.
Tested with:
Browser / Version: Firefox 137.0-candidate build 1
Operating System: Windows 10
Description
•