Template:YouTubeEmbed: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "<noinclude> {{notice|This template is '''intentionally left blank''' until the proper mediawiki features required for YouTube embeds are exposed. This allows for the future-pr...")
 
(<object> seems to work... https://www.encodedna.com/html5/embed-youtube-video-in-a-webpage-without-iframe.htm)
Line 1: Line 1:
<object data='https://www.youtube.com/embed/{{{1|}}}?autoplay=1' width='{{{width|560}}}px' height='{{{height|315}}}px'></object>
<noinclude>
<noinclude>
{{notice|This template is '''intentionally left blank''' until the proper mediawiki features required for YouTube embeds are exposed. This allows for the future-proofing of pages by placing this template on a page without showing the end user ugly redlinks.}}
{{notice|This template is '''intentionally left blank''' until the proper mediawiki features required for YouTube embeds are exposed. This allows for the future-proofing of pages by placing this template on a page without showing the end user ugly redlinks.}}
</noinclude>
</noinclude>

Revision as of 07:25, 14 June 2023

<object data='https://www.youtube.com/embed/?autoplay=1' width='560px' height='315px'></object>

Note.pngNote:This template is intentionally left blank until the proper mediawiki features required for YouTube embeds are exposed. This allows for the future-proofing of pages by placing this template on a page without showing the end user ugly redlinks.