An option to permanently opt-in to YouTube's HTML5 beta test would greatly enhance the Torbutton user experience. Bonus points if the option would work even if cookies are disabled.
Trac: Username: katmagic
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items 0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items 0
Link issues together to show that they're related.
Learn more.
f1 is not relevant to HTML5. It is the f2 piece that means HTML5.
This lack of full understanding here is what worries me. What if the user already has a PREF cookie? Can we always just slap that f2 value on the end? What if it already has an f2 piece? Should we replace it? Or is it a bitstring that we need to bitwise or? Is it hex, or octal, or wtf?
Trac: Component: Torbutton to TorBrowserButton Keywords: youtube, html5 deleted, N/Aadded
If someone could investigate how flashblock, greasymonkey scripts, and other addons are handling this, that could give us some more confidence on a solution. At least we can track them for changes if they notice edge-case breakage in that solution and we do not.
Since we only care about supporting TBB with this, we can probably be blunt and just hardcode an f2 value that gets set every time the cookies are cleared.. We still should look at flashblock and the greasemonkey scripts for reference.
Since we only care about supporting TBB with this, we can probably be blunt and just hardcode an f2 value that gets set every time the cookies are cleared.. We still should look at flashblock and the greasemonkey scripts for reference.
Turns out Katmagic wrote one of the greasemonkey scripts. However, it apparently has issues sometimes. It hits an infinite loop, and it also has a mechanism for changing the PREF value instead of just setting it initially.
Katmagic - why did you do the reset piece? What happens if you do this in TBB:
Hit New Identity in Torbutton's dropdown
Use a cookie editor to set a cookie with PREF=f2=40000000;domain=.youtube.com
Go to youtube and try the following
a. watching some videos
b. logging in
c. creating an account
Try this a few times. Do you still hit your infinite loop? Does logging in remove your ability to view HTML5 vids? Does creating an account?
Wow, I think this officially qualifies as first good news I've heard all year.
As for auto-allowing these objects, there are two issues with the ideas on the tails forum page:
Unchecking the "Apply these restrictions to untrusted sites too" checkbox will allow font-face and WebGL to get auto-loaded in our default config, and will also cause flash to auto-load for people who have discovered how to dig through our layers of disabling in order to enable it. I will instead mail Giorgio and inform him that the "Audio/video" checkbox doesn't seem to be working right with Youtube. He is usually pretty prompt with stuff like this.
I am still not 100% sure I want to make audio and video codecs autoplay without the user clicking on them.. Have they had enough auditing and trial by fire to reduce the vulnerability rate to something acceptable? Firefox 9 had at least one video vuln..
However, if people think that NoScript click-to-play is too confusing, I could be persuaded to turn it on, pending Giorgio's fixes to allow just audio/video.
Hmm, maybe not allowing all audios/videos but what about fixing this in a way that only Youtube videos can auto-play. Can torbutton or another thing do this or only Noscript?
Also I think dailymotion too has changed the way html5 works. I now see the html5 player automatically but cant get any video to work. It says "Media not supported" in every video also on [http://www.dailymotion.com/html5]. Can we do anything about this too?
This is probably something we want to consider attempting again if FF17-ESR doesn't magically solve all of our woes here. (Maybe the opt-in is back for us because FF10-ESR is kind of old and lacks some features they think they need/want).
Hmm, maybe not allowing all audios/videos but what about fixing this in a way that only Youtube videos can auto-play. Can torbutton or another thing do this or only Noscript?
Also I think dailymotion too has changed the way html5 works. I now see the html5 player automatically but cant get any video to work. It says "Media not supported" in every video also on [http://www.dailymotion.com/html5]. Can we do anything about this too?
Could be worth checking out the viewtube greasmonkey script (https://userscripts.org/scripts/show/87011). Would need to be vetted and modified to stop inserting http (no TLS) elements in TLS sites though. Also it doesn't seem to work half the time, but the idea is there.
For the record, someone suggested on #10628 (moved) that we replace the Firefox user agent string with an IE10 or IE11 user agent string. This actually works in that many YouTube videos that wouldn't play before, suddenly play successfully when the UA is changed. Mike pointed out that this could end up breaking a bunch of other sites, however.
someone suggested on #10628 (moved) that we replace the Firefox user agent string with an IE10 or IE11 user agent string.
Mike pointed out that this could end up breaking a bunch of other sites, however.
Why you want UA was permanently changed? Changing it for YouTube more reasonable move. Some add-ons already exists with such functional to play HTML5 from YouTube. TBB could include it or do some simple and verified piece with changing UA for YouTube only. Or you could to ask Google "WTF?!"
I still have had to throw &html5=1 on the occasional video in recent memory. However, I don't believe it is worth the complexity and potential non-video-related breakage to try to rewrite all youtube urls to add this suffix. Closing as wontfix.
Trac: Resolution: N/Ato wontfix Status: needs_review to closed