Videos grayed out, cannot play
-
Just tested the snapshot. As expected, the same behavior. I'll get to the other items you mentioned shortly.
Can you confirm that you have received mail from me? Possibly, it would be better to continue via mail, rather than in the forum, but that's up to you.
-
Try clicking the X reload button to cancel loading of the page to skip the failing resources.
Believe it or not, this does not work. Clicking the X does not seem to stop loading of the page, nor does it cause the HAR progress bar to do anything. There is a red square next to the progress bar, which presumably means "stop", but that doesn't do anything either. The HAR file still has 0 bytes.
There is also chrome://net-export that can collect network data, but it's much more technical to parse. But it also contains info on your network config, which is very useful in troubleshooting.
I started the export (with the "strip private information" option). Then I visited the page, and waited several seconds. Then stopped the export. 11MB of fun, to be found here: https://we.tl/t-zfJ2UBWesN
Also check chrome://net-internals/#proxy if a proxy is being used.
No proxy in use
There's also chrome://net-internals/#dns to look up an IP.
For instance, the Switch video provider seems to be:
switch-video-production.os.zhdk.cloud.switch.ch
This resolves to an IP of 86.119.32.16 for me.
Might be different for you and might explain the failures on your side.I get exactly the same address that you have.
Also compare this to the other Chromium-based browsers and what proxies/dns resolves to.
Checked with Chromium (version 121.0.6167.139): Proxy (none), DNS (same address). The only difference is that the embedded videos display correctly ¯_(ツ)_/¯
Also make sure to check Network Settings in Firefox to see if there are any proxies configured.
Firefox is set to use the system proxy settings; the system does not use a proxy.
-
@BradRichardsFHNW Thanks, I'll have a look once I have access. Although I do have a suspicion that all will work fine here...
One thing I've not asked is for you to provide a screenshot. Show what the page looks like in Vivaldi, and include the UI as well, might be a clue there.
Lacking the HAR logs, instead screenshot the network log in devtools. Might help a bit. Click on one of the pending/failing requests to view more details.
For me the main video download requests looks like this:
It's transferred 6.8MB of the video file.There's also a lot of these "playback" requests, I'm assuming this is some kind of viewer stats/tracking done by Switch.
I started the export (with the "strip private information" option). Then I visited the page, and waited several seconds. Then stopped the export. 11MB of fun, to be found here:
I had a look at it, but examining such logs is way over my networking level.
I notice that the socket stats for
https://switch-video-production.os.zhdk.cloud.switch.ch <https://fhnw.ch cross_site>
has 16 "Pending" but I really have no idea what it actually means, and for all I know it's perfectly normal. -
Another thing from the log:
Under Cache you have:
Cache type: Simple CacheI did a log myself, and Cache lists a lot of stats and:
Cache type: Blockfile CacheMight be a Linux thing, I'm on Windows. Some googling around for simple cache found a command line switch:
--use-simple-cache-backend
"Uses experimental simple cache backend if possible."
https://kapeli.com/cheat_sheets/Chromium_Command_Line_Switches.docset/Contents/Resources/Documents/indexBut this might be old info, and there's no mention of this switch in the docs I refer to for command line switches:
https://peter.sh/experiments/chromium-command-line-switches/Some more docs I found:
https://chromiumcodereview.appspot.com/12684010This is all old stuff and apparently this flag is not available any more, so why is it enabled for you? Could be some Linux thing.
But what you're seeing could be related to cache errors so it might be very much relevant for your case.
Or I'm overthinking things as usual -
There is an issue with the Mesa packages in Linux that affects graphics, it may be related to this issue, if not directly causing it.
It began with Mesa 23.3 per a bug report, continues with a further upgrade to 23.3.5 and affects some, but not all GPU's. It affects my AMD Radeon HD-5450, but not the Radeon 3000 (a non-HD GPU) in my signature below.
The thread below has a sample graphic of what is displayed, along with a link to the bug report. It is affecting H.264 videos.
https://forum.vivaldi.net/topic/94736/mesa-issue-with-chromium-based-browsers
-
Sorry for the radio silence. I've been doing some investigation into this issue with Pathduck's help. I think we have narrowed down the problem. If there are some Linux experts out there, maybe you'll have some ideas. Here are the key points as I understand them:
-
The videos on embedded in the Moodle page do not load. If you look at the developer/network view, they are permanently stuck on "pending". The page loading/refresh symbol in the Vivaldi toolbar remains an X, and clicking on it does nothing - the page loading seems to be hung. However, the elements that were loaded (everything but the videos) are usable.
-
A single video, identically embedded in a simple, hand-coded HTML page, works just fine.
-
This problem seems to be specifically tied to Linux, using the proprietary Nvidia drivers. Specifically, I am on Xubuntu 22.04 with Nvidia driver version 535. The problem goes away if I switch to the Nouveau video drivers.
-
Even with the Nvidia drivers,, the problem does not occur in Firefox or Chromium. Only in Vivaldi (including the latest snapshot).
-
I have reproduced the problem on a completely new Xubuntu 22.04 installation, using the Nvidia drivers. It also occurs on my laptop (also Xubuntu 22.04 with Nvidia).
I don't think this is related to the Mesa regression that edwardp mentions. CNN works fine for me, plus I have a relatively new Nvidia card [Geforce RTX 3050]. Also, the workaround mentioned there (disable hardware acceleration) does not help.
If anyone cares to take a look at this, I am happy to provide more information as needed.
-
-
I have experienced this issue recently on random websites, as well.
-
@BradRichardsFHNW It's really strange - everything up to now pointed to a networking/cache issue.
- "Pending" network requests
- Works on other sites with the same embeds
- Videos on other sites work
- Videos suddenly start working if the same embed is played on another site first
If this really is a GPU driver issue, then disabling HW accel should have "fixed" it as it takes the GPU out out the equation (mostly at least).
Please a screenshot of the issue on the page. We have not seen that yet and it might help. Just black out any "sensitive" info, can be done in any image editor.
Close any open tabs playing media, open the page with the issue, and look in
vivaldi://media-internals
if you see any player with thekPlay
orkSuspended
state from theswitch.ch
domain. If there are, copy the player properties and log, paste to a paste service like https://pastebin.comIf this is a GPU issue, there are some flags you could try changing to possibly narrow down the issue.
chrome://flags/#ignore-gpu-blocklist
=> Enabled
chrome://flags/#disable-accelerated-2d-canvas
=> Disabled
chrome://flags/#enable-gpu-rasterization
=> Disabled
chrome://flags/#use-angle
=> Choose a different backend -
I just submitted a report (VB-104105). Videos on Yahoo Finance will not play in Stable, but will play in Snapshot. Not sure if related to the OP's issue.
-
Sure, I will paste a screenshot here. The gray areas should contain previews of videos. Note the "pending" status in the network log. I will try your other suggestions and post the results in another reply.
-
I looked at vivaldi://media-internals with the affected page open. The "Players" tab is empty.
Then I tried the Chrome flags. This revealed an interesting and odd behavior. If I change literally any flag, and then click "relaunch¨, the videos are displayed correctly. This briefly got my hopes up, but alas, it was not to be. If I manually close Vivaldi, and re-open it, the problem is still there. So there is something special about whatever happens with a "relaunch", and whatever it is temporarily fixes the problem ?!?!
If I close and re-open Vivaldi, then none of the following three flags helped.
chrome://flags/#ignore-gpu-blocklist => Enabled (was Disabled)
chrome://flags/#disable-accelerated-2d-canvas => Disabled (was Enabled)
chrome://flags/#enable-gpu-rasterization => Disabled (was Default)I don't see the the following flag at all, neither in the stable nor in the snapshot version of Vivaldi.
chrome://flags/#use-angle => Choose a different backend
-
@BradRichardsFHNW said in Videos grayed out, cannot play:
I looked at vivaldi://media-internals with the affected page open. The "Players" tab is empty.
Well, the "pending" requests to the actual video files explains that - there are no videos actually loaded at all.
So when you load the same page with the other gfx drivers the requests finish? Really strange issue...
It does not look like a GPU driver issue to me, the "placeholder" text on the video element shows. With GPU issues you'd usually see page "glitches" or random blank areas on the page.
I think it would still help if you're able to capture a HAR file. Try waiting it out, leave the tab open and see if the requests finish or time out or something, see if you can save the file.
Make sure to also check this option, to bypass any cache:
Then do a reload usingCtrl+F5
just to make sure the page is loaded fresh. -
I left the page open for a couple of hours, and absolutely nothing happened. Resources still "suspended", nothing times out.
As mentioned in an earlier comment (which also includes a screenshot), I cannot actually produce a HAR file. When I click to save the file, in the top right of the network window (dev tools), there is a little progress bar "collecting content" that never goes anywhere. The HAR file is created, but contains zero bytes.
-
@BradRichardsFHNW Try blocking the request domain of the failing requests.
It will show up at the bottom:
The requests will fail, but you will at least be able to save the HAR.
Not sure how much good that will do though...