Page 1 of 1
Video click-to-play-field not working when site is allowed
Posted: Mon Aug 19, 2013 11:38 am
by Elbart
Firefox 23.0.1, NoScript 2.6.7.1
Example:
http://ie.microsoft.com/testdrive/graph ... fault.html
Site microsoft.com:
Not allowed.
Forbid audio/video: checked
Apply these restrictions to whitelisted sites too:
checked
-> Yellow click-to-play-placeholders are there, clicking on them starts the loading of the video
===
Site microsoft.com:
Allowed.
Forbid audio/video: checked
Apply these restrictions to whitelisted sites too:
checked
-> No yellow click-to-play-placeholders, cannot start any video. Error-message: "The video could not be loaded, either because the server or network failed or because the format is not supported."
===
Site microsoft.com:
Not allowed.
Forbid audio/video: checked
Apply these restrictions to whitelisted sites too:
UNchecked
-> Yellow click-to-play-placeholders are there, clicking on them starts the loading of the video
===
Site microsoft.com:
Allowed.
Forbid audio/video: checked
Apply these restrictions to whitelisted sites too:
UNchecked
-> No yellow click-to-play-placeholder, video-fields are displayed properly, playing the videos is possible.
===
Can you confirm this?
Re: Video click-to-play-field not working when site is allow
Posted: Mon Aug 19, 2013 9:32 pm
by Thrawn
Interesting. Yes, I can see that the placeholders don't appear in the second case. However, you can still play the videos using the Blocked Objects submenu.
Nothing showed up in the Error Console, so perhaps this is a (non-critical) bug.
Re: Video click-to-play-field not working when site is allow
Posted: Fri Sep 06, 2013 10:24 am
by Elbart
As a follow-up, there's a problem with NoScript, html5-videos and media.autoplay.enabled being set to false on sites which are not allowed.
STR:
1. Set media.autoplay.enabled to false
2. Make sure that NoScript is set to "Forbid audio/video: checked" and "Apply these restrictions to whitelisted sites too: checked"
3. Go to the site linked in the OP.
4. If microsoft.com is allowed, disallow it and reload.
5. Click on the first video-placeholder to temporarily allow it. The video will load but not play.
6. Allow microsoft.com and reload the site.
7. Click on the play-button and the video will start to play.
8. Disallow microsoft.com and reload.
9. The previously temporarily allowed video will show up, the other videos won't.
10. Click on the play-button of the video.
Expected result:
The video should start to play normally.
Actual result:
The video does not start to play. You have to seek a couple seconds into the video for it to start playing.
This does not happen with NoScript disabled or if the options in step 2 are set differently; the video starts to play fine when the play-button is clicked.
EDIT: Apparently media.autoplay.enabled has no effect on whether this bug occurs or not. This is probably a side-effect of the bug mentioned in OP.
Re: Video click-to-play-field not working when site is allow
Posted: Sat Sep 21, 2013 6:21 am
by Elbart
After upgrading to NoScript 2.6.8.1, the page is now looking like this when the domain is forbidden:
http://i.imgur.com/PUSxxnP.png
Reproduced in Firefox 23 and 24.
PS: An error message telling me that the post triggered the anti-spam-filter and I should modify the post isn't helping when I don't know what triggered the filter in the first place. Now I know that it's not allowed to have an [img]-tag within a [url]-tag.

Re: Video click-to-play-field not working when site is allow
Posted: Sat Sep 21, 2013 11:27 am
by Elbart
2.6.8.2rc1 fixed the previous post's issue, thank you.
The original problem still exists.
Re: Video click-to-play-field not working when site is allow
Posted: Thu Oct 17, 2013 3:10 pm
by Elbart
On
http://www.mozilla.org/en-US/firefox/video/ NoScript's placeholder is being shown, even with mozilla.org allowed.
Why is that?
What's the difference?
Re: Video click-to-play-field not working when site is allow
Posted: Thu Oct 17, 2013 11:47 pm
by Thrawn
Because the video is coming from mozilla.net. You should be able to see this on the Blocked Objects submenu.
Re: Video click-to-play-field not working when site is allow
Posted: Fri Oct 18, 2013 11:37 am
by Elbart
So when the video is coming from a different domain, allowed or not, the placeholder works, but not when both the site and the video are on the same domain and allowed?
Re: Video click-to-play-field not working when site is allow
Posted: Sat Oct 19, 2013 12:30 pm
by Thrawn
Is it just microsoft.com that is affected, or other sites too?
Re: Video click-to-play-field not working when site is allow
Posted: Sat Oct 19, 2013 1:43 pm
by Elbart
Haven't seen this anywhere else yet.