# How Do I Make A Youtube Video Loop Endlessly When Embedded
**Source:** https://beyondspace.studio/qanda/how-do-i-make-a-youtube-video-loop-endlessly-when-embedded
**Language:** French (France)

---

# How do I make a YouTube video loop endlessly when embedded?

Jan 12

Written By Beyondspace

To make a YouTube video loop endlessly when embedded, you need to use specific parameters in the embed code. Here’s how to do it:

### Steps to Enable Endless Looping

```
<iframe src="https://www.youtube.com/embed/1O0yazhqaxs?loop=1&playlist=1O0yazhqaxs" width="560" height="315" frameborder="0"></iframe>
```

1. **Basic Embed Code**: Start with the standard YouTube embed code for the video you want to loop
2. **Add Loop Parameter**: To enable looping, append `loop=1` to the URL parameters.
3. **Add Playlist Parameter**: You must also include the `playlist` parameter with the same video ID as the video you want to loop. This is necessary for the loop feature to work correctly.

### Complete Embed Code Example

Here’s how your final embed code should look:

```
<iframe src="https://www.youtube.com/embed/VIDEO_ID?loop=1&playlist=VIDEO_ID" width="560" height="315" frameborder="0"></iframe>
```

### Example with a Specific Video ID

For instance, if your video ID is `1O0yazhqaxs`, the complete embed code would be:

```
<iframe src="https://www.youtube.com/embed/1O0yazhqaxs?loop=1&playlist=1O0yazhqaxs" width="560" height="315" frameborder="0"></iframe>
```

### Additional Options

- **Autoplay**: If you want the video to start playing automatically, add `autoplay=1`et `mute=1` to the URL

```
<iframe src="https://www.youtube.com/embed/1O0yazhqaxs?loop=1&playlist=1O0yazhqaxs&autoplay=1" width="560" height="315" frameborder="0"></iframe>
```

Use Beyondspace Youtube Embed code generator to quickly set Youtube embed player to loop without edit the code directly.

- Place the Youtube video URL to the Video URL input
- In **Playback Options**, toggle **Autoplay**, **Mute** ou  **Loop** feature
- Click **Generator Code** to create the embed code

By following these steps, you can easily set up an embedded YouTube video that loops continuously, providing a seamless viewing experience for your audience

Beyondspace 

As a Squarespace Circle member, Beyondspace delivers plugins that elevate your website, streamline workflows, and optimize the Editor experience—saving time and driving engagement.

https://beyondspace.studio

Précédent

Précédent

## Why is my Squarespace gallery block not showing up?

Suivant

Suivant

## How do I enable fullscreen mode for a YouTube video embed?