YoutubePlayer

YoutubePlayer allows you to embed YouTube videos in pages. As the EmbedVideo now supports all the functionality provided by the script, it is no longer needed for embedding videos.
== Migration ==
If you have used this script in the past, here is how you can change the parameters to work with EmbedVideo:
* Instead of using a template ({{YoutubePlayer|...}}) you can use a parser tag (<youtube>).
* The ID of the video goes into the parser tag contents (<youtube>HqURNITAxcE</youtube>). You can also use the full URL (<youtube>https://www.youtube.com/watch?v=HqURNITAxcE</youtube>).
* The width and height go into the dimensions parameter. For example, a 640x480 video would be <youtube dimensions="640x480px">HqURNITAxcE</youtube>.
* If you want the video to loop, you can use urlargs="loop=1&playlist=<video id>". For example, if you wanted the above example to loop, it would be <youtube urlargs="loop=1&playlist=HqURNITAxcE">HqURNITAxcE</youtube>.
* If you want the video to start from a certain point, you would use urlargs="start=<time>". For example, if you wanted the above video to start from the fifth second, you would use <youtube urlargs="start=5">HqURNITAxcE</youtube>.
** Similarly, there is an end URL parameter. If you want the above example to start at 5s and end at 10s, you would use <youtube urlargs="start=5&end=10">HqURNITAxcE</youtube>.
* If you want to display a playlist next to the video, you can use urlargs="list=<playlist ID>". For example, <youtube urlargs="list=PLaKZBiOLJSdaU_ylcfHjgZ_QjDt3ukV3F">HqURNITAxcE</youtube>.
== ==
=== With dimensions ===
<youtube dimensions="640x480px">HqURNITAxcE</youtube>
gives...
<youtube dimensions="640x480px">HqURNITAxcE</youtube>
=== With looping ===
<youtube urlargs="loop=1&playlist=XY55rmPzd4M">XY55rmPzd4M</youtube>
gives...
<youtube urlargs="loop=1&playlist=XY55rmPzd4M">XY55rmPzd4M</youtube>
=== With start and end time ===
<youtube urlargs="start=5&end=10">HqURNITAxcE</youtube>
gives...
<youtube urlargs="start=5&end=10">HqURNITAxcE</youtube>
=== With playlist ===
<youtube urlargs="list=PLaKZBiOLJSdaU_ylcfHjgZ_QjDt3ukV3F">HqURNITAxcE</youtube>
gives...
<youtube urlargs="list=PLaKZBiOLJSdaU_ylcfHjgZ_QjDt3ukV3F">HqURNITAxcE</youtube>