Page 1 of 1

[FIXED] No placeholder for blocked HTML5 media

Posted: Wed Jun 12, 2019 4:53 pm
by barbaz
NoScript 10.6.3rc7 is not showing placeholders for blocked <video> or <audio> elements, even in new profile.

Example URL: https://www.w3schools.com/html/html5_video.asp

This happens both in Firefox 66.0.5 and Waterfox 68.

Re: No placeholder for blocked HTML5 media

Posted: Wed Jun 12, 2019 11:40 pm
by therube
OK, remind me what I'm supposed to see & with what settings I should be seeing it?

Placeholder I understand.
But I don't recall (on the webextension end) how it should or should not come about?

I know I've seen it, in some circumstances, but I'm not seeing it with NoScript 10 & w3schools.

With no domains allowed, you get a "no video with supported format..." message.
(And that is for only 1 of the video objects. The other is simply "not there".)

If I allow w3schools, 2 objects turn up, but not blocked.
If I then revoke permissions, the video objects still display (& are functional).
A manual page refresh is required for them to change to be "no video with supported format" / "blank".


NoScript 5 (without looking, at the moment) would have given me 2 placeholders from the outset.


w3schools has all the items checked under its' Customize?
Haven't really messed with those items (anywhere) & not really familiar with them/their meaning...


FF 69 I'm doing the looking with.

Re: No placeholder for blocked HTML5 media

Posted: Thu Jun 13, 2019 2:51 am
by therube
https://www.newsflare.com/video/298498/ ... hern-china

allow: newsflare, jwpcdn (& maybe ? code.jquery.com)

gives a placeholder.
(Actual playback is different, but not concerned about that part of things.)


Now, semantics (for me at least), is that "mp4 video" the same as "HTML5 media"?
To me if it's something I want blocked (a placeholder for), I don't care about semantics, I just want it blocked.

Re: No placeholder for blocked HTML5 media

Posted: Thu Jun 13, 2019 4:11 am
by barbaz
therube wrote: Thu Jun 13, 2019 2:51 am allow: newsflare, jwpcdn (& maybe ? code.jquery.com)

gives a placeholder.
Same here. It doesn't show up for me on other sites though.

I tried briefly to contrive a webpage on my local server where NoScript would show the placeholder, no luck so far.
therube wrote: Thu Jun 13, 2019 2:51 am Now, semantics (for me at least), is that "mp4 video" the same as "HTML5 media"?
Yes, it's one type of HTML5 media.

Re: No placeholder for blocked HTML5 media

Posted: Thu Jun 13, 2019 6:44 am
by skriptimaahinen
Video-tag is HTML5-video, no matter if it plays the video from file or streams it with MediaSource.

You guys are not seeing things. There is no placeholder for video tags that play the video from file. And can't remember that there ever has been (in NS10). No code in the sources that would do that. NoScript only provides the placeholder for MediaSource streamed videos.

That said, it looks like the placeholder is now broken in YouTube. The placeholder does get generated, but it inherits some styles from the video that cause it to be hidden. You seeing this too?

Re: No placeholder for blocked HTML5 media

Posted: Thu Jun 13, 2019 2:23 pm
by barbaz
Temporarily locking

Re: No placeholder for blocked HTML5 media

Posted: Sat Jun 15, 2019 7:53 pm
by barbaz
Unlocking.

This is fixed in latest development build 10.6.3rc8, thanks Giorgio 8-)