Help:YouTube: Difference between revisions

m
Text replacement - "<youtube width="([0-9]{1,3})" height="([0-9]{1,3})">([0-9A-Za-z-_]{11})<\/youtube>" to "{{#widget:YouTube|id=$3|width=$1|height=$2}}"
m (Text replacement - "<youtube>([0-9A-Za-z-_]{11})<\/youtube>" to "{{#widget:YouTube|id=$1}}")
m (Text replacement - "<youtube width="([0-9]{1,3})" height="([0-9]{1,3})">([0-9A-Za-z-_]{11})<\/youtube>" to "{{#widget:YouTube|id=$3|width=$1|height=$2}}")
Line 15: Line 15:
The '''width''' and '''height''' attributes can be defined to specify custom dimensions. For example:
The '''width''' and '''height''' attributes can be defined to specify custom dimensions. For example:


<youtube width="300" height="200">qA0vLrwuQHE</youtube>
{{#widget:YouTube|id=qA0vLrwuQHE|width=300|height=200}}
<pre><youtube width="300" height="200">qA0vLrwuQHE</youtube></pre>
<pre>{{#widget:YouTube|id=qA0vLrwuQHE|width=300|height=200}}</pre>


{{Wikipolicy}}
{{Wikipolicy}}
[[Category:Help|{{PAGENAME}}]]
[[Category:Help|{{PAGENAME}}]]