I want to take a YouTube url, and put it into an A-Frame scene as a video texture. Like <a-video src="https://www.youtube.com/watch?v=dQw4w9WgXcQ">
. Is this possible for https://aframe.io?
Asked
Active
Viewed 3,005 times
7

ngokevin
- 12,980
- 2
- 38
- 84
-
what is an `
` element? – gman Mar 30 '16 at 06:27 -
It's part of A-Frame (https://aframe.io), a WebVR framework. I'm just asking common questions and self-answering them to share knowledge. We just got the `aframe` tag so in the future, I'll limit it to that tag. – ngokevin Mar 30 '16 at 23:57
1 Answers
7
With some manual effort, you could either:
- Proxy YouTube videos as a texture like https://github.com/cvan/webvr360 / https://www.dropbox.com/s/298brayuh24et13/webvr360.mp4?dl=0
- Download them locally to serve with a service.
Note that these are probably against their terms of service.

ngokevin
- 12,980
- 2
- 38
- 84