Template:EmbedVideo

From Second Life Wiki
Jump to navigation Jump to search

Usage

Attempts to render a video embedded in an iframe.

{{EmbedVideo|url=your-iframe-embed-url|caption=caption-or-attribution|width=480|height=640|frameborder=0|allow=autoplay; fullscreen; picture-in-picture|fullscreen=allowfullscreen}}

Basically, grab the iframe link (usually called 'share' or 'embed') from whatever video provider you've got, and put it in your-iframe-embed-url.

Some providers will have different ways of generating their iframes, so you'll have to experiment a bit to see if it works..

Example

Attempt to embed Torley's video at https://vimeo.com/4242932.

If this template is working, you should see it below:


<html>

<iframe src="</html>https://player.vimeo.com/video/4242932?h=4c11c903a6<html>" width="640" height="480" frameborder="0" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen></iframe>

blah

</html>


If you just see HTML garbage, then it clearly is not working! (As of August 2022, it's not working. — Gwyneth Llewelyn (talk) 09:38, 23 August 2022 (PDT))