我最近从 16.04 升级到了 18.04,除了不能再观看 YouTube 之外,其他一切都很好。无论是在 Firefox 还是 Chrome 中,我得到的都是黑屏,缓冲符号不停地旋转。
不过 Netflix 和其他流媒体服务似乎没问题。
没有错误消息,没有信息。以下是来自 YouTube 的一些调试信息:
{
"ns": "yt",
"el": "detailpage",
"cpn": "ukqJ1Pkc3hFNrRjM",
"docid": "UUrddqT9i_s",
"ver": 2,
"referrer": "https://www.youtube.com/",
"cmt": "0",
"plid": "AAVsjksRhoKfiDto",
"ei": "4xkAW9jTOMXX7gT23KLIBw",
"fmt": "244",
"fs": "0",
"rt": "6.962",
"of": "88EcndvSiiJtXH_gbFT7aQ",
"euri": "",
"lact": 1,
"cl": "197048268",
"mos": 0,
"state": "49",
"vm": "CAEQARgE",
"volume": 100,
"subscribed": "1",
"c": "WEB",
"cver": "2.20180517",
"cplayer": "UNIPLAYER",
"cbr": "Firefox",
"cbrver": "60.0",
"cos": "X11",
"hl": "en_US",
"cr": "SE",
"len": "430",
"fexp": "23702717,23708904,23708906,23708910,23710476,23712544,23718325,23720702,23721699,23721898,23723303,23723618,23723927,23724834,23726563,23727194,23729169,23729689,23730469,23730604,23731733,23732854,23733751,23736483,23737658,23737969,23738492,23738897,23739454,23739764,23740493,23740991,23741036,23741665,23741719,23741852,23742144,23742665,9422596,9449243,9466850,9470250,9471235,9476619,9485000",
"feature": "g-high-rec",
"afmt": "251",
"at": "2_3",
"cc": ".en.nP7-2PuUl7o",
"vct": "0.000",
"vd": "430.000",
"vpl": "",
"vbu": "",
"vpa": "0",
"vsk": "0",
"ven": "0",
"vpr": "1",
"vrs": "0",
"vns": "2",
"vec": "null",
"vvol": "1",
"creationTime": 495925,
"totalVideoFrames": 0,
"droppedVideoFrames": 0,
"corruptedVideoFrames": 0,
"lct": "0.000",
"lsk": true,
"lmf": false,
"lbw": "24420486.667",
"lhd": "0.010",
"lst": "0.000",
"laa": "",
"lva": "",
"lar": "",
"lvr": "",
"lvh": "r3---sn-uxaxovg-5gok",
"lab": "",
"lvb": "",
"ismb": 10950000,
"relative_loudness": "-6.749",
"optimal_format": "480p",
"user_qual": "auto",
"debug_videoId": "UUrddqT9i_s",
"0sz": false,
"op": "1",
"yof": false,
"dis": "",
"gpu": "GeForce_GTX_1050/PCIe/SSE2",
"cgr": true,
"debug_playbackQuality": "large",
"debug_date": "Sat May 19 2018 14:34:51 GMT+0200 (CEST)"
}
答案1
您的计算机是否连接了扬声器/耳机?如果没有,请尝试连接耳机或扬声器。当扬声器/耳机未连接时,我也遇到了完全相同的问题,因此这可能是与音频不可用有关的问题。
注意:我的 ubuntu 在 virtualbox VM 中运行。
答案2
当我从 Ubuntu 16.04 升级到 18.04 时也遇到了这个问题,在我做了一些小改动之后问题就解决了。
我关闭了跨源读取阻止 (CORB) 扩展,跨源读取阻止 (CORB) 是一种算法,可以在可疑的跨源资源加载到达网页之前识别并阻止它们。CORB 通过将敏感数据远离跨源网页来降低泄露敏感数据的风险。
在大多数浏览器中,它将这些数据保留在不受信任的脚本执行上下文之外。在具有场地隔离,它可以将这些数据完全排除在不受信任的渲染器进程之外,甚至有助于抵御 Spectre 等旁道攻击。这适用于 Chrome 和 Firefox。然后一切看起来都很好。