I've been encountering a problem with YouTube lately in Mozilla Firefox that makes the site inaccessible and displays white space instead of embedded YouTube videos. When I visited the home page, Firefox reported the following "Bad Request" error: "Your browser sent a request that this server could not understand. Size of a request header field exceeds server limit." The error was triggered by the cookie header VISITOR_INFO1_LIVE.
I thought this was YouTube's problem, but when I investigated, I found out that the problem can occur when Firefox's cookies database has become corrupted.
To fix the problem, I opened the folder that contains my Firefox user data, closed the browser and deleted the file cookies.sqlite. When I restarted Firefox, it created a new database to hold them.
The cookies database usually can be found on Windows XP in the folder C:\Documents and Settings
Deleting the file cookies.sqlite wipes out your browser cookies and stored auto-login passwords.
It's easy to link directly to a specific time in a YouTube video. All you have to do is add a
t parameter to the end of the URL that indicates the time position in seconds. Here's an example that links to Post Malone's Nirvana tribute benefit concert for the coronavirus pandemic 118 seconds in when the performance begins:
t=118 parameter causes the video to begin playing one minutes and 58 seconds after the beginning. There's also a way to accomplish the same thing when embedding a video. Add a
start parameter to the video's embedded URL in the
iframe tag. The value of start should be the number of seconds to skip before playback.
For a shortcut to this command, pause a YouTube video, right-click the video and choose Copy Video URL at Current Time.
Here's the embedded HTML code for the Post Malone concert starting 118 seconds in:
<iframe width="640" height="360" src="https://www.youtube.com/embed/f7eaGcIyhPU?start=118" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
This HTML markup begins the Post Malone concert at the designated mark once a viewer chooses to play it.
For a shortcut, pause a video, click the Share button underneath it, choose embed, and click the Start At checkbox. When you click the Copy button to close the dialog you'll have HTML code you can use for playback at that time.
Go back through his videos and you'll find a bunch of great odd stuff coming from the most unlikely place imaginable (such as String Jams 2, a NFL Countdown remix and his Bill Simmons podcast theme). Jenkins also has filmed some non-musical videos, like one about trying to get his roommates to play Balderdash.