Issue with YouTube Video Playback in A-Frame AR Experience

Hello everyone,

I’m currently working on an augmented reality project using A-Frame and the 8th Wall platform. I’ve set up a scene with various image targets, and I’m trying to embed a YouTube video that plays when one of the targets is scanned. However, I’m encountering an issue where the video is not playing and is not visible.

Here’s a snippet of my code related to the YouTube video:




can see the primitive object when I scan the target, but the video itself does not appear or play.

Has anyone experienced a similar issue or have suggestions on how to properly embed and play a YouTube video in an A-Frame AR scene? Any help or guidance would be greatly appreciated!

Thank you!

Hi, welcome to the forums!

The easiest way to do this would be to download the video from Youtube as an mp4 and then play it on a primitive surface.