Year of the Dragon: Through June 26th, claim free Ground Bound Green Dragon Mount! Speak to Xatheral in the Hall of Heroes.
(April's reward of a free expansion or Greater Elixir of Discovery can still be claimed from Trilliya until June 4th.) edit

Game mechanicsNewbie guideIn developmentDDO StoreSocial Media


ChallengesClassesCollectablesCraftingEnhancementsEpic DestiniesFavorFeats

GlossaryItemsMapsMonstersPlacesQuestsRacesReincarnationSkillsSpells


Please create an account or log in to remove ads, build a reputation, and unlock more editing privileges and then visit DDO wiki's IRC Chat/Discord if you need any help!

Template:YouTube

From DDO wiki
Jump to navigation Jump to search

Credits

This widget allows you to add YouTube video player to your wiki page.

It was created by Yaron Koren. Modifications for DDO wiki made by ShoeMaker (Contribs • Message)

Using this widget

{{YouTube|id=#|width=###|height=###|id2=#|id3=#| ..snip.. |id9=#|autohide=#|autoplay=#|loop=#}}

  • id is the 11 digit alpha-numeric id-code from the URL of the video.
    • id2 - id9 are the 11 digit alpha-numeric id-code from the URL of the videos to create a playlist.
  • width will be limited to the range of 320 - 640 - 800.
  • height will be limited to the range of 240 - 480 - 600.
  • autoplay may be set to 1 if you want the video to start playing as soon as it is loaded.
    • WARNING: May be not desirable for most viewers.
  • autohide
    • May be set to 0 to have the controls always visible.
    • May be set to 1 to have the video progress bar and the player controls slide out of view a couple of seconds after the video starts playing.
    • Set to 2 by default for the video progress bar to fade out while the player controls (play button, volume control, etc.) remain visible.
    • May be set to 3 to completely remove the controls. (This is NOT recommended.)
      • Setting this to 3 is actually setting controls to 0.
  • WARNING: The following may not work in all instances. Currently only works for people loading with HTML5 and not AS3 viewers.
    • loop may be set to 1 if you want the video(s) to play over and over and over again in an infinite loop.

* Bold values are the default settings.
* Do not include arguments not needed. Most videos will simply work best using only {{YouTube|id=#}}.

CATEGORIZATION

Using this template categorizes pages into C:Pages with YouTube videos.

Coding