Template:YouTubeEmbed: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(<object> seems to work... https://www.encodedna.com/html5/embed-youtube-video-in-a-webpage-without-iframe.htm)
(avoid showing anything on non-sandbox pages)
 
(7 intermediate revisions by one other user not shown)
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 nonfunctional fluff. Use [[Template:YouTubeEmbed/test]] for testing in the meantime.}}
</noinclude>
</noinclude>

Latest revision as of 07:43, 14 June 2023

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 nonfunctional fluff. Use Template:YouTubeEmbed/test for testing in the meantime.