Status

Tech Evangelism
Mobile
UNCONFIRMED
2 months ago
2 months ago

People

(Reporter: Pablo, Unassigned)

Tracking

Firefox 57

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 months ago
User Agent: Mozilla/5.0 (Linux; Android 7.0; Redmi Note 4 Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.84 Mobile Safari/537.36

Steps to reproduce:

On site => "https://m.mojevideo.sk", video not working only sound, in Chrome withouth problem.


Actual results:

On site => "https://m.mojevideo.sk", video not working only sound, in Chrome withouth problem.


Expected results:

On site => "https://m.mojevideo.sk", video not working only sound, in Chrome withouth problem.
It looks like the site doesn't work as expected because Firefox rejects the fullscreen request from the page.

FWICT, the page
 - has 1x1 video element
 - uses javascript: URI to call the Javascript function that calls play() and requestFullscreen() of the video element

By default, Firefox only allows a fullscreen request from the event handler for a user-initiated event, so the video plays in a barely seen 1x1 area. Once turning off 'full-screen-api.allow-trusted-requests-only' in about:config, the video plays in fullscreen.

Eric, this seems more a webcompat issue to me and could be fixed by the site using 'onclick' event handler instead of javascript: URI. Could you please help?
Flags: needinfo?(etsai)
Move to Tech Evangelism/Mobile
Component: Audio/Video → Mobile
Flags: needinfo?(etsai)
Product: Firefox for Android → Tech Evangelism
You need to log in before you can comment on or make changes to this bug.