How can I use shortUrls inside my plugins initializers?

I am trying to write a plugin and use the upload://3211.mp4 shortURL format with it. Is that possible?

Basically I am trying to reuse a uploaded file inside my tag <source src="upload://3211.mp4 "/>