{{{1}}}
Template documentationedit documentation
This helper template returns the video id out of a YouTube or Vimeo URL.
Examples:
{{Video/id|https://www.youtube.com/watch?v=uJEYcCgZ7mI}}
→ uJEYcCgZ7mI{{Video/id|https://www.youtube.com/watch?v=uJEYcCgZ7mI&list=PLu7So2evIB3Vu0KbKo1bKm2bGLl1Gwwh9}}
→ uJEYcCgZ7mI{{Video/id|https://youtu.be/uJEYcCgZ7mI}}
→ uJEYcCgZ7mI{{Video/id|uJEYcCgZ7mI}}
→ uJEYcCgZ7mI{{Video/id|https://vimeo.com/243244233}}
→ 243244233{{Video/id|243244233}}
→ 243244233