You are here: Reference > HTML > attributes > loop (embed)

loop attribute (embed)

Browser support:
Sets the type of repetition of the embedded media.
The embed tag is a non-standard tag in HTML but supported by all commonly used browsers.
JavaScript page for this attribute: loop. You can find other example(s) there.

Possible values:

The kind of the repetition.
One of the following values:
No repeat, played only once.
Endless repeat.
Default: false.

Example HTML code 1:

This example illustrates the use of the loop attribute:
<embed type="video/mpeg" width="320px" height="240px" src="testVideo.mpg" loop="true" />
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content