Trying to embed a YouTube video in a reveal JS presentation.

Have tried using the shortcode for video with several variants of the URL for the video, and the embed code such as the following:

`{{< video https://www.youtube.com/watch?v=Ye8mB6VsUHw&t=16s width="850" height="475">}}` produces nothing.

`{{< video https://www.youtube.com/embed/Ye8mB6VsUHw width="850" height="475">}}` and `{{< video https://youtu.be/Ye8mB6VsUHw width="850" height="475">}}`

produce a black frame. When I inspect the frame in the browser I see the following with a long set of characters data where the ... are in the following for the src

```
<iframe src="data:text/html; ......................... .charset=utf-8;charset=utf-8, width="850" height="475" title="" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe>
```

If I edit the element in the browser to replace the src as follows,  

```
<iframe src="https://www.youtube.com/embed/Ye8mB6VsUHw" width="250" height="175" title="" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe>
```
the video runs fine.

What am I missing to get it to render so it works?

Appreciate any suggestions.

2023-01-24T23:28:29Z
rressler
needs-repro
closed
YouTube video not playing in Reveal JS
https://github.com/quarto-dev/quarto-cli/issues/4089