Video does not start playing
Categories
(Web Compatibility :: Site Reports, defect, P3)
Tracking
(Not tracked)
People
(Reporter: rpopovici, Assigned: twisniewski)
Details
(Keywords: webcompat:needs-diagnosis)
Affected versions:
Firefox 74.0b7
Firefox 73.0.1
Nightly 75.0a1
OS:
Windows 10
Steps to reproduce:
- Open Firefox
- Go to this link https://www.ifanr.com/video/1309423
- Click on Play button
Actual result:
Video does not start playing.
Expected result:
Video should playing back.
Note: This link works as expected on Chrome.
Comment 1•4 years ago
|
||
It could be a (bilibili) player script issue: I tested in Nightly on both macOS and Windows 10, and found that even though it doesn't play in desktop mode, the video works after I turned on Responsive Design Mode and choose either Samsung S9 or one of the iOS devices.
Comment 2•4 years ago
|
||
It seems like the liteplayer.js script is somehow failing:
TypeError: can't access property "defaultView", a.ownerDocument is null
Comment 3•4 years ago
|
||
The video is hosted on bilibili.
The liteplayer.js should use wheel instead of mousewheel
and DOMMouseScroll
.
$(document).off('mousewheel' + c.b.namespace + ' DOMMouseScroll' + c.b.namespace).on('mousewheel' + c.b.namespace + ' DOMMouseScroll' + c.b.namespace, function (d)
for the issue, a.ownerDocument is null when a == document
but that would happen on Chrome too. So if it doesn't happen in chrome, it's because the browser didn't reach up to document.
They use a very old version of JQuery too
/*! jQuery v1.7.2 jquery.com | jquery.org/license */
released on March 21, 2012
<iframe class="js-video-src" src="//player.bilibili.com/player.html?aid=89166092&cid=152297134&page=1" frameborder="0" allowfullscreen="" style="display: block;"></iframe>
If I load directly the iframe.
https://player.bilibili.com/player.html?aid=89166092&cid=152297134&page=1
This is working and we do not get the same error anymore about a.ownerDocument
Thomas, an idea?
Updated•3 years ago
|
Comment 4•2 years ago
|
||
I was not able to reproduce the issue. I was able to play the video, with no issues encountered:
Tested with:
Browser / Version: Firefox Nightly 102.0a1 (2022-05-24) (64-bit)
Operating System: Windows 10 PRO x64
Reporter is the issue still reproducible on your side?
Assignee | ||
Comment 5•2 years ago
|
||
The video seems to work the same way for me in Firefox, Chrome and Safari now, so we might as well close this.
Description
•