Entities External Elements

External Elements

Example

The following video frame is an example of an external element inserted as an iframe

iframe stands for inline frame

The src attribute specifies the URL of the page you want to embed. The width attribute specifies the width of the iframe. The height attribute specifies the height of the iframe. The allowfullscreen attribute allows the user to display the iframe in full screen mode. It's also a good practice to specify a title attribute for the iframe, as it's important for accessibility.

Freecodecamp Lesson on Iframes

accelerometer lets the iframe use motion sensors so it can detect things like device tilting and rotation. autoplay lets the video start playing automatically, and clipboard-write lets the iframe write data to the user’s clipboard.

encrypted-media - allows the use of encrypted media to protect the video

gyroscope - devices's motion and orientation

web-share - sharing the iframe content through device's native share