YouTube
From MusicTechWiki
Revision as of 06:43, 2 December 2020 by TomHutchison (talk | contribs) (Created page with "<includeonly>{{#widget:YouTube|width={{{width|640}}}|id={{{id}}}}}{{videometa|1={{{id}}}}}{{#if:{{{description|}}}|{{descriptionmeta|description={{{description}}}}}|}}</includ...")
Revision as of 06:43, 2 December 2020 by TomHutchison (talk | contribs) (Created page with "<includeonly>{{#widget:YouTube|width={{{width|640}}}|id={{{id}}}}}{{videometa|1={{{id}}}}}{{#if:{{{description|}}}|{{descriptionmeta|description={{{description}}}}}|}}</includ...")
Build a YouTube embedded video with og meta data automatically included.
This template uses the same notation as {{#widget:YouTube|...}}. Description is an addon to add a rich text snippet to the page if shared on Facebook or Twitter but is totally optional and not related to the YouTube Widget in anyway.
{{#widget:YouTube|width={{{width|640}}}|id={{{id}}}}}{{videometa|1={{{id}}}}}{{#if:{{{description|}}}|{{descriptionmeta|description={{{description}}}}}|}}