Video: Difference between revisions
(update with param and documentation) |
m (test) |
||
| Line 1: | Line 1: | ||
<iframe id="ytplayer" type="text/html" width="640" height="360" | |||
src="https://www.youtube.com/embed/D46KCQNDMaM7" | |||
frameborder="0"></iframe> | |||
<noinclude> | |||
<iframe id="ytplayer" type="text/html" width="640" height="360" | <iframe id="ytplayer" type="text/html" width="640" height="360" | ||
src="https://www.youtube.com/embed/<!--{$videoId|default:D46KCQNDMaM7}-->?autoplay=1&origin=https://graphit.ur.de" | src="https://www.youtube.com/embed/<!--{$videoId|default:D46KCQNDMaM7}-->?autoplay=1&origin=https://graphit.ur.de" | ||
frameborder="0"></iframe> | frameborder="0"></iframe> | ||
= Usage = | = Usage = | ||
Embed a YouTube Video using a iframe | Embed a YouTube Video using a iframe | ||
Revision as of 14:34, 10 November 2025
<iframe id="ytplayer" type="text/html" width="640" height="360"
src="https://www.youtube.com/embed/D46KCQNDMaM7" frameborder="0"></iframe>
<iframe id="ytplayer" type="text/html" width="640" height="360"
src="https://www.youtube.com/embed/?autoplay=1&origin=https://graphit.ur.de" frameborder="0"></iframe>
Usage
Embed a YouTube Video using a iframe
- videoId: The video id of a youtube link (e.g. for: https://www.youtube.com/watch?v=D46KCQNDMaM7 its 'D46KCQNDMaM7')
{{#widget:Video|videoId=D46KCQNDMaM7}}