Live data from Hacker News

YouTube video has its own URL in it

youtube.com

51–60 of 160 posts

Re: YouTube video has its own URL in it

#51
post #26

I think it's most likely done with the API. From what I remember from looking at it a while ago you can create the entry before, then it'll give you the right endpoint where you post your actual file to later on in the process. You just have to do that quickly enough so the endpoint doesn't expire.

It's apparently even been done before, see here at around the three minute mark: https://youtube.com/watch?v=UMYTSJTU0Vk

Oh hi, creator of the video here!

It's just a fun video of me messing around with Windows 8.1 I made a while back, trying out different "apps" and stuff. I thought it'd be a fun easter egg to download the video itself when I was trying out that strange YouTube MP3 downloader app :D

I didn't do it with the API (even though I tried to at first), just the normal youtube.com/upload site. I used Fiddler (Burpsuite alternative) to achieve this

I am not the first person to do this however, Insane Doll Gallery has made a video demonstrating this [youtu.be/ufq2Eb78kSU] (apparently used the API) and the channel NightFalls Studios has also used this trick in their My Little Pony comic animations [youtu.be/FDLvR9xrCag and youtu.be/7oXsOmqs6R4]

Re: YouTube video has its own URL in it

#55
post #50

A somewhat related story about why text posts on reddit are called "self posts" (copy-pasted from a thread from 5 years ago where someone asked why, linked near the top of the explanation): --- It's actually a bit of a long story, but it's kind of an interesting part of reddit's history. Some of my details are probably off, but this is how I understand it. A long, long time ago, reddit only supported submitting links…

> Unfortunately, reddit's never been very good at just seeing some new popular thing as a novelty and moving on.

So very reddit.

Do you know what year that was?

Re: YouTube video has its own URL in it

#56

Another way to achieve this would be to make a video which flashes each possible digit of the YouTube video ID alphabet once for each digit, then use YouTube's video editor to cut out all the incorrect digits.

The video, running at 60fps, would have to be 38996161157 years long for this to be a possibility Even if you predicted the first 3 symbols of the id, you'd still need a 148758 years long video

Re: YouTube video has its own URL in it

#57
post #3

This looks really interesting. Has YouTube ever published their URL generation technique? Any one has a guess how this was done? If they use a one way hash over metadata and content if video does this not mean that someone has figured out their secret key.

As far as I was aware, the ID is just a hashed version of the actual database id being passed through an algorithm using base64. hashids[0] implements a similar method of obfuscating IDs. 0: https://hashids.org/

You can also permute your ID space using a block cipher.

Re: YouTube video has its own URL in it

#58
post #47
post #10

Earlier quoted context omitted.

I believe that’s just part of the joke. It’s a mock email from the future, telling him what the URL will be and how to make the video.

In another comment, someone says the trick here is to do a resumable upload. The document is covering the sign at the start of the video, so the uploader could have uploaded that section (without any text on the sign in-game), then "resumed" the upload with a different video that contains the URL on the sign and starts after he switches to the Minecraft window.

Except that the email at the beginning has the URL in it

Re: YouTube video has its own URL in it

#59

Done more than once before, this one even has an explanation, which matches some of the guesses people already posted I think https://www.youtube.com/watch?v=ufq2Eb78kSU

Excellent, this explains it. The YouTube video you shared says the trick is to create a resumable upload using YouTube API. The steps involved : 1. create a resumable session (here we specify video length in bytes) 2. YouTube returns a session URI which contains the upload ID 3. create a video with the upload ID baked in (edit video to match length from step 1) 4. upload video to the session URI https://developers.go…

I have not been doing any edits of video for a long time... What are most people editing vids with these days?

Re: YouTube video has its own URL in it

#60
post #50

A somewhat related story about why text posts on reddit are called "self posts" (copy-pasted from a thread from 5 years ago where someone asked why, linked near the top of the explanation): --- It's actually a bit of a long story, but it's kind of an interesting part of reddit's history. Some of my details are probably off, but this is how I understand it. A long, long time ago, reddit only supported submitting links…

> Unfortunately, reddit's never been very good at just seeing some new popular thing as a novelty and moving on. So very reddit. Do you know what year that was?

January 22, 2008 is when the built-in feature to make self-posts was added: https://www.reddit.com/r/bugs/comments/666ne/testing_self/
Post reply on HN