Page 1 of 1

no video controls for video tag in Firefox 3.5 with NoScript

Posted: Mon Jul 06, 2009 7:30 pm
by Morac
I'm noticing that with NoScript installed in Firefox 3.5, that video using the <video> tag won't play unless I temporarily allow javascript on the page. This is true, even if the page has no javascript code on it.

For example, go to this page, click on the embeded video and choose "Okay" from the NoScript prompt.

One would expect the video to start playing, but it does not. Also there are no video controls. In order to get the video controls, I have to click the noscript status bar icon and temporary allow the web page. If you look at the web page's source, there is no javascript code.

The same thing happens if you try to go to the video directly. While the video plays by itself, there are no controls. To get the controls the page must be temporarily allowed.

NoScript should allow the built-in browser code that controls playback of video tags, if the video itself is allowed.

Re: no video controls for video tag in Firefox 3.5 with NoScript

Posted: Mon Jul 06, 2009 9:24 pm
by Giorgio Maone
It's a Firefox bug, not NoScript's fault.
I could try (and probably will, as soon as I've got the time) to work around with an ugly and expensive hack (hooking my own implementation of the relevant event handlers), but the fix really belongs to the browser.

Re: no video controls for video tag in Firefox 3.5 with NoScript

Posted: Fri Jul 10, 2009 6:10 pm
by Giorgio Maone
Many efforts to mitigate this issue in latest development build 1.9.5.7 :)

Re: no video controls for video tag in Firefox 3.5 with NoScript

Posted: Sat Jul 11, 2009 8:25 am
by Grumpy Old Lady
Morac wrote:This is true, even if the page has no javascript code on it.
I'm unable to find an example of the new video 5 stuff without JS (aside from direct download links of course).
For example, go to this page, click on the embeded video and choose "Okay" from the NoScript prompt.
If you look at the web page's source, there is no javascript code.
eh? There is a JS on that page, called "video.js" that's needed for the controls.

Anyway, the fix in 1.9.5.7 has restored sanity. :-)