When playing video in https://web.vip.miui.com/page/info/mio/mio/detail?postId=44268510 , the "play" button won't disappear
Categories
(Fenix :: Media, defect)
Tracking
(Not tracked)
People
(Reporter: Tom25519, Unassigned)
Details
Steps to reproduce:
- Open https://web.vip.miui.com/page/info/mio/mio/detail?postId=44268510
- Play the video
Actual results:
The "Play" button won't disappear when video playing.
Expected results:
This bug shouldn't appear.
Updated•5 months ago
|
Comment 1•5 months ago
|
||
Some digging
Error message in console
VIDEOJS: ERROR: TypeError: can't access property "toLowerCase", e is undefined
m common.e6d34230.chunk.js:37033
isMobileFlow common.e6d34230.chunk.js:36472
value common.e6d34230.chunk.js:36485
dispatcher 8254.a835ba6c.chunk.js:1
mn 8254.a835ba6c.chunk.js:1
trigger 8254.a835ba6c.chunk.js:1
handleTechPlay_ 8254.a835ba6c.chunk.js:1
loadTech_ 8254.a835ba6c.chunk.js:1
dispatcher 8254.a835ba6c.chunk.js:1
u vendor.ed41ebd8.js:2645
isMobileFlow common.e6d34230.chunk.js:36472
value common.e6d34230.chunk.js:36485
dispatcher 8254.a835ba6c.chunk.js:1
mn 8254.a835ba6c.chunk.js:1
trigger 8254.a835ba6c.chunk.js:1
handleTechPlay_ 8254.a835ba6c.chunk.js:1
loadTech_ 8254.a835ba6c.chunk.js:1
dispatcher 8254.a835ba6c.chunk.js:1
u vendor.ed41ebd8.js:2645
vendor.ed41ebd8.js:formatted:358:26
VIDEOJS: ERROR: TypeError: can't access property "toLowerCase", e is undefined
m common.e6d34230.chunk.js:37033
isMobileFlow common.e6d34230.chunk.js:36472
value common.e6d34230.chunk.js:36485
dispatcher 8254.a835ba6c.chunk.js:1
mn 8254.a835ba6c.chunk.js:1
trigger 8254.a835ba6c.chunk.js:1
handleTechPlay_ 8254.a835ba6c.chunk.js:1
loadTech_ 8254.a835ba6c.chunk.js:1
dispatcher 8254.a835ba6c.chunk.js:1
u vendor.ed41ebd8.js:2645
isMobileFlow common.e6d34230.chunk.js:36472
value common.e6d34230.chunk.js:36485
dispatcher 8254.a835ba6c.chunk.js:1
mn 8254.a835ba6c.chunk.js:1
trigger 8254.a835ba6c.chunk.js:1
handleTechPlay_ 8254.a835ba6c.chunk.js:1
loadTech_ 8254.a835ba6c.chunk.js:1
dispatcher 8254.a835ba6c.chunk.js:1
u vendor.ed41ebd8.js:2645
In file:
https://rs.vip.miui.com/vip-resource/prod/mifans-lts/3.5/v149/static/js/common.e6d34230.chunk.js
},
m = function (e, t) {
return e.toLowerCase() === t.toLowerCase()
},
e
is undefined
in here, so error happens.
),
this.isMobileFlow = function () {
var e;
return i.isInApp ? (0, m.P7) () === M.bU.FLOW : (0, p.Dt) () &&
navigator.onLine &&
!(0, y.EL) (
null === (e = i.connection) ||
void 0 === e ? void 0 : e.effectiveType,
M.pl.WIFI
)
},
(0, p.Dt) ()
this check if "android" in user-agent.
In Chrome for Android i.connection
returns NetworkInformation {onchange: null, effectiveType: '4g', rtt: 0, downlink: 10, saveData: false}
But in Firefox for android i.connection
is undefined
.
It is from this.connection = navigator.connection || navigator.mozConnection || navigator.webkitConnection,
Accoring to MDN docs , support for navigator.connection
has been removed in Firefox for Android version 99 and later and Firefox 32 and later
So this is a site issue.
Comment 2•4 months ago
|
||
The severity field is not set for this bug.
:tthibaud, could you have a look please?
For more information, please visit BugBot documentation.
Comment 3•4 months ago
|
||
Thanks Jackyzy823 for the investigation!
I'm closing this one as Invalid, as it's a site issue.
Description
•