[FIXED] No placeholder for blocked HTML5 media

Bug reports and enhancement requests
Post Reply
barbaz
Senior Member
Posts: 9143
Joined: Sat Aug 03, 2013 5:45 pm

[FIXED] No placeholder for blocked HTML5 media

Post by barbaz » Wed Jun 12, 2019 4:53 pm

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.
*Always* check the changelogs BEFORE updating that important software!
-

User avatar
therube
Ambassador
Posts: 7407
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: No placeholder for blocked HTML5 media

Post by therube » Wed Jun 12, 2019 11:40 pm

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.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.5

User avatar
therube
Ambassador
Posts: 7407
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: No placeholder for blocked HTML5 media

Post by therube » Thu Jun 13, 2019 2:51 am

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.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.5

barbaz
Senior Member
Posts: 9143
Joined: Sat Aug 03, 2013 5:45 pm

Re: No placeholder for blocked HTML5 media

Post by barbaz » Thu Jun 13, 2019 4:11 am

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.
*Always* check the changelogs BEFORE updating that important software!
-

skriptimaahinen
Senior Member
Posts: 152
Joined: Wed Jan 10, 2018 7:37 am

Re: No placeholder for blocked HTML5 media

Post by skriptimaahinen » Thu Jun 13, 2019 6:44 am

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?
Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0

barbaz
Senior Member
Posts: 9143
Joined: Sat Aug 03, 2013 5:45 pm

Re: No placeholder for blocked HTML5 media

Post by barbaz » Thu Jun 13, 2019 2:23 pm

Temporarily locking
*Always* check the changelogs BEFORE updating that important software!
-

barbaz
Senior Member
Posts: 9143
Joined: Sat Aug 03, 2013 5:45 pm

Re: No placeholder for blocked HTML5 media

Post by barbaz » Sat Jun 15, 2019 7:53 pm

Unlocking.

This is fixed in latest development build 10.6.3rc8, thanks Giorgio 8-)
*Always* check the changelogs BEFORE updating that important software!
-

Post Reply