Closed Bug 1067252 Opened 6 years ago Closed 2 years ago

dailymotion is showing just black pictures for preview


(Web Compatibility :: Desktop, defect)

Firefox 32
Not set


(Not tracked)



(Reporter: zdenek.kabelac, Assigned: karlcow)


(Blocks 1 open bug, )


(Whiteboard: [country-fr] [css] [sitewait])


(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0
Build ID: 20140831202001

Steps to reproduce:

Visit page.

Disable  'Age Gate'  (so it's "Off")

Look for some 'age' protected content (whatever it will be).

Now - the preview pictures remain just black boxes - while it should 'normally' contain 'blurred' version of video preview  -  correct page could be easily seen compared with 'Chrome' rendering  (there is even greasemonkey skript to remove blur).

For the non-age protected video the preview icon is shown correctly (and unblurred).

I've checked/tested this even with completely removed .mozilla dir (so clear version of firefox) as well as I've tested version 29 and nightly (35) - and all version seems to have same issue on my Fedora Rawhide box.

Actual results:

Instead of blurred preview picture just black box could be seen as video picture preview icon.

Expected results:

Blurred picture is shown.
This CSS rule is causing the problem:
filter: url('data:image/svg+xml;utf8,<svgxmlns=''><filterid='blur'><feGaussianBlurstdDeviation='4'/></filter></svg>#blur');
Does it depend on whether hardware acceleration is enabled (Preferences → Advanced → General; details about possible blocking are at about:support)?
Component: Untriaged → SVG
Product: Firefox → Core
(In reply to randy from comment #1)
> This CSS rule is causing the problem:
> filter:
> url('data:image/svg+xml;utf8,<svgxmlns='
> svg'><filterid='blur'><feGaussianBlurstdDeviation='4'/></filter></
> svg>#blur');

All the spaces are missing e.g. between svg and xmlns or between filter and id.
Closed: 6 years ago
Resolution: --- → INVALID
Robert, can you explain why a filter with invalid XML should be interpreted by the browser as "make everything black"? It seems like better behavior might be to ignore the filter.
It makes the element not display at all per and presumably what's behind the image is a black background div or something similar.
So to get it translated for me as FF user -

Firefox will not support this - and should use Chrome for this site ?
Or you can tell the site maintainers.
Component: SVG → Desktop
Product: Core → Tech Evangelism
Version: 32 Branch → Firefox 32
There's a Greasemonkey script in this page resolving the issue :

The issue remains in FF Aurora 34 and Nightly 35

Even IE 11 shows the page correctly (!)
Are all the browsers receiving the same code? :)

0. With Firefox 32.0.2 on Mac OS X
1. Going to
2. Receiving the Japanese page
3. Switching the language
4. Setting Age Gate OFF (in the footer)
5. Searching "sex", receiving black squares list.


<img class="preview blurred" alt="Sex Scene in Blue Is the Warmest Color (2013)" title="Sex Scene in Blue Is the Warmest Color (2013)" src="">

.sd_video_previewtwig .blurred {

The difference of behaviors in between Firefox, WebKit/Blink and Microsoft is due to them not using the same CSS rule.

There are a couple of issues for the SVG filters. The spaces AND the fact to not have escaped the XML code. It can't work.

The correct code is:


See the reduced test case I put online at

I will contact dailymotion.
Assignee: nobody → kdubost
Ever confirmed: true
Resolution: INVALID → ---
Whiteboard: [country-fr] [css] [contactready]
DailyMotion has been contacted today by email.
Whiteboard: [country-fr] [css] [contactready] → [country-fr] [css] [sitewait]
Its been more than 2 months now. Cant firefox at least fail gracefully, and at least not break the thumbnails if it gets served broken filter instructions. Like IE does? Thumbnail without applied blur filter is obviously a better result than no thumbnail at all.

It's difficult. The CSS property is *understood*. It's not failing for the CSS parser. What is failing is the image which has a bug and that Firefox can't display. Think for example an image with a network issue and a 403 Not Found.

This could be a proposal, maybe worth opening a new bug if it's not yet open. Let's try.
Blocks: 1105145
I opened 
    Bug 1105145 - When a CSS filter URL fails on an img element, the src image is not displayed
Thought I'm still not sure it's a correct analysis. 
@kalviskajaks you might be able to help by creating a reduced test case for it. Thanks.
recontacted daily motion today.
CC'ing. I've send them an email half a year ago.
Escaped code is OK, but now they have 3 slashes in their SVG namespace, so it still doesn't work   v_v
Karl, did they ever reply? We support the blur filter CSS now, so they could just remove that rule.
Flags: needinfo?(kdubost)
Nope never replied nor acknowledged. Pinged 3 times.
We could try with the CTO

let me try with

The current code is:

.sd_video_preview .blurred {
	width: 110%;
	height: 110%;
	margin-left: -5px;
	margin-top: -5px;
	-webkit-filter: blur(3px);
	-moz-filter: blur(3px);
	-ms-filter: blur(3px);
	-o-filter: blur(3px);
	filter: blur(3px);
	filter: url("data:image/svg+xml;utf8,<svg xmlns='http:///'><filter id='blur'><feGaussianBlur stdDeviation='3'/></filter></svg>#blur");
	filter: "progid:DXImageTransform.Microsoft.Blur(PixelRadius=3)";

when removing the SVG filter, it's working perfectly in Firefox.

.sd_video_preview .blurred {
	width: 110%;
	height: 110%;
	margin-left: -5px;
	margin-top: -5px;
	-webkit-filter: blur(3px);
	-ms-filter: blur(3px);
	-o-filter: blur(3px);
	filter: blur(3px);
	filter: "progid:DXImageTransform.Microsoft.Blur(PixelRadius=3)";
Flags: needinfo?(kdubost)
Contacted by email today.
I have the feeling this issue is now invalid. The UI of dailymotion has totally changed. And there's no blur anymore or the adult content is gone.
Closed: 6 years ago2 years ago
Resolution: --- → INVALID
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.