Template:Video/service

From Appropedia
Jump to navigation Jump to search

YouTube

Template documentation[edit]

This helper template returns the video service out of a video URL, id or file name.

Examples:

  • {{Video/service|Placeholder.mp4}} → Appropedia
  • {{Video/service|The Yakan Native Dance.webm}} → Wikimedia Commons
  • {{Video/service|https://www.youtube.com/watch?v=uJEYcCgZ7mI}} → YouTube
  • {{Video/service|https://www.youtube.com/watch?v=uJEYcCgZ7mI&list=PLu7So2evIB3Vu0KbKo1bKm2bGLl1Gwwh9}} → YouTube
  • {{Video/service|https://youtu.be/uJEYcCgZ7mI}} → YouTube
  • {{Video/service|uJEYcCgZ7mI}} → YouTube
  • {{Video/service|https://vimeo.com/243244233}} → Vimeo
  • {{Video/service|243244233}} → Vimeo