Closed Bug 1334152 Opened 7 years ago Closed 7 years ago

HTML5 Video

Categories

(Firefox for Android Graveyard :: Audio/Video, defect)

51 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1350842

People

(Reporter: 2433146453, Unassigned)

Details

User Agent: Mozilla/5.0 (Linux; Android 6.0; MZ-PRO 6 Build/MRA58K) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/45.0.2454.94 Mobile Safari/537.36

Steps to reproduce:

Video file does not exist, but I still use JavaScript to play this video, while changing the element size.

视频文件不存在,但我仍然使用 JavaScript 播放这段视频,同时更改元素大小。


Actual results:

Page is covered by a layer of translucent black, unable to operate the label page

页面被一个半透明的黑色的层覆盖,没法操作这个标签页,改变了URL也是这样。


Expected results:

Tip video does not play, and then click OK. Translucent black mask layer disappears, the page can browse

提示视频无法播放,点击确定。黑色半透明遮罩层消失,页面能正常浏览
Please provide a URL for the video. Note Firefox does not currently support HLS video.
Flags: needinfo?(2433146453)
It was when I first learning JavaScript, written by a video player.It has been packaged to the Google Net Disk, please download unzip and open the index.html file and click the play button, Bug will reproduce

这是当我第一次学习 JavaScript,写的一个视频播放器。它已打包到谷歌网络硬盘,请下载解压并打开 index.html 文件,单击播放按钮, Bug 就会复现

https://drive.google.com/file/d/0BxMib6T-8oBbTlczNjk2NEluNFU/view?usp=drivesdk
Looks like the translucent layer is the (buggy) external video player view triggered by unsupported media type. In reporter's case, it's the OGV video tag created in line 24-27. A workaround is removing the Firefox test in line 19.

Bug 1350842 will remove the external player and fix this.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Product: Firefox for Android → Firefox for Android Graveyard
Flags: needinfo?(2433146453)
You need to log in before you can comment on or make changes to this bug.