[SOLVED] Pretty annoying Firefox problem: can't read embedded videos

11 posts / 0 new
Editor and cheeky nitpicker
Joined: 14.09.2013
Pending moderation

This problem started bugging me a few days ago.

I'm using the latest Firefox (French) version 60.0.2 (64 bits) on Windows 7,
Flash plugin and display drivers up to date, no exotic add-ons beside the standard AdBlock and Blur.

When I try to watch a vid, I get a black picture instead. Looking at the HTML source I see this:

<div class="youtube-player-wraper"><div class="youtube-player" data-id="GwvYA7Hf9GY"></div></div> <script>
/* Light YouTube Embeds by @labnol */
/* Web: http://labnol.org/?p=27941 */
function() {
var div, n,
v = document.getElementsByClassName("youtube-player");
for (n = 0; n < v.length; n++) {
div = document.createElement("div");
div.setAttribute("data-id", v[n].dataset.id);
div.innerHTML = labnolThumb(v[n].dataset.id);
div.onclick = labnolIframe;

A simple iframe tag like this
<iframe src="https://www.youtube.com/embed/GwvYA7Hf9GY?autoplay=1" allowfullscreen="1" frameborder="0"></iframe>

works well, but it seems the wrapper div is messing up something.

So, is there a known solution to this problem?


check here

if it's webm,
> false

Editor and cheeky nitpicker
Joined: 14.09.2013

Thanks but no luck. As I said it's not a problem of vid, it's a problem of whatever super clever code messing up with the inner HTML of the doccument and ending up creating a blank DIV instead of the intended IFRAME.

Joined: 27.05.2008

Just checked in FF 60.0.2 without add-ons, videos work both on song and translation pages. Do you have another browser to test?

Could you maybe try to disable extensions temporarily and check? If it doesn't help, you may try https://support.mozilla.org/en-US/kb/how-clear-firefox-cache


no problem with my firefox 60.0.2 64 bit win7 uBO
once remove (cos "disable" is sometines not enough) blur or/and AB as LT said
if it works, check the settings of the add-on which causes the problem.
if it does not work, disable your anti-virus. if it works, check the options/settings.
if it does not work, disable hardware acceleration. https://support.mozilla.org/en-US/kb/hardware-acceleration-and-windowbli...
if it does not work, refresh your firefox. https://support.mozilla.org/en-US/kb/refresh-firefox-reset-add-ons-and-s...
if it does not work, try a new profile @ firefox. https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-f...

Moderator of void
Joined: 27.06.2016

Just checked anonymous access for the sake of it, an it also works fine with Firefox 60.0.2 (64 bit) with no extensions activated on Windows 10 Enterprise 2016 LTSP. The page tested: https://lyricstranslate.com/en/forum/english-language/transcription-help... (for it has a lot of embed videos).

Editor and cheeky nitpicker
Joined: 14.09.2013

Removing adblock did bring back the obnoxious ads but didn't solve the problem.
Disabling Avast didn't change a thing. I don't use the browser add-ons anyway.
All my drivers (standard Nvidia stuff) and plugins (just the basic h264, Google vids and latest flash player) were peachy and up to date.
Tinkering with h/w acceleration didn't do anything, but I would have been surprised if it did, since I could read a vid using the basic iframe youtube mechanism.

Only this smart-ass deferred loading piece of code would spew a blank div into the page instead of the expected Youtube iframe.

In the end, reseting Firefox did the trick.

I can't think of a reason why the thing stopped working. I didn't do anything at all. It's been weeks since I last installed anything on this computer, except the last FF patch one month ago and the usual Windows updates. No tinkering with any setup either. And I don't remember visiting exotic sites, assuming some rabid hacker found a way to mess up Firefox's configuration from Javascript.
The only thing I can think of is a blue screen I got from my video card a few days ago, but how that could have messed up FF is a bit beyond me.

I hate it when I fix a problem without understanding its cause. On the other hand, the poor old beast has become so top-heavy it should be renamed Whiteelephant, really.

Anyway, thanks for the help folks.

Moderator of void
Joined: 27.06.2016

I won't be surprised if it was a Windows or Firefox update that for some reasons caused this strange behaviour. The more complex the system is, the more hard it is to find what exactly has gone wrong. It is just a hypothesis as I use the same OS and browser at work (except there are no Windows updates) and everything there works OK too.

However it did remind me of a strange bug we were trying to resolve about two years ago at work. It had an ADSL-modem, a state-approved VPN solution and a region-wide deployed financial application. Everything worked like a charm on its own, but combined together the VPN link failed when the application tried to download its updates. Long story short, the culprit turned out to be a braindamaged firmware of the ASDL-modem, which simply started to ignore, until it is rebooted, any UDP-packets from the first one greater than an MTU of the ADSL link on. And this damn VPN solution used exclusively UPD for its operation. Ugh!

Editor and cheeky nitpicker
Joined: 14.09.2013

Haha yes, I think we are long past the point where anybody can claim to master any of these bloated pieces of software.
While trying to investigate my problem, I stumbled upon pretty hair-raising discussions on the Mozilla developers forum.

My best bet is that my computer's crash left one of the innumerable files FF uses in a strange state. Clearing the cache didn't fix the problem, but I suppose the poor old beast keeps writing bookkeeping files all over the place and can end up in some weird inconsistent state if the plug is pulled at the wrong time.

Moderator of void
Joined: 27.06.2016

That's also a possibility. And I wouldn't be surprised if just deleting this effing file would have solved the problem. But the big question would be which one to delete…
My home browser can display some content from word documents without any extra tools but in a rather strange e-book-ish way. Maybe it's useful for someone but it's useless to me. And this kind of stuff is being embed everywhere. RIP the Unix way of one excellent tool for one task. Confused smile

Editor and cheeky nitpicker
Joined: 14.09.2013

The Mozilla project seems to be crawling with people eager to stuff all sorts of junk into what I'd rather want to be a simple tool to display web pages.
Their technical support seems to have long been taken over by silver-tongued bullshitters leading baffled customers up the garden path too.

All I can see is that the beast is becoming slower, more cumbersome and buggier with each new release.
Since they started spawning multiple processes a few years ago, it has also become a preposterous memory hog.

I suppose part of the memory consumption is due to the bloating of the pages themselves, the continuous streams of Ajax junk sloshing around and the horrendous scripts that crawl on every page. The very thought of the billions of billions CPU cycles wasted every second on the planet just makes me cringe.

I've been testing Chrome in a virtual machine and it seems the little snitch is indeed faster and less memory-hungry.
I'm only sticking with Mozilla as a matter of principle, but I can't say I'm happy with it.

Add new comment