How an PHPBB forum administrator can allow members to embed Youtube videos into their posts/topics?

1. Login into PHPBB administration panel
2. CLick "POSTING" tab on the top
3. In the "BBCodes" section Add new BB code.

Examples field:
Code:
[youtube]{IDENTIFIER}://www.youtube.com/watch?v={SIMPLETEXT}[/youtube]
HTML replacement field:
Code:
<object width="640" height="360"><param name="movie" value="{IDENTIFIER}://www.youtube.com/v/{SIMPLETEXT}"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="{IDENTIFIER}://www.youtube.com/v/{SIMPLETEXT}" type="application/x-shockwave-flash" width="640" height="360" allowscriptaccess="always" allowfullscreen="true"></embed></object>
Help line field:
Code:
Embed Youtube video by pasting its full URL like https://www.youtube.com/watch?v=xxxxx)
-----

- This also allows Full screen video playback
- https and http URLs both works
- non www URL do NOT works