Autor Wątek: YouTube na forum  (Przeczytany 4049 razy)

Offline KolA

  • Administrator
  • Kornik - Ekspert
  • *****
  • Wiadomości: 7175
YouTube na forum
« dnia: 2018-03-30 | 11:35:35 »
Dostępny jest BBCODE do wstawiania filmów YT. Można również wstawić wynik wyszukiwania na UT lub usera YT.
Dostępne są do tego odpowiednie przyciski, nie trzeba tego wyjaśniać :)

Istotne są jednak parametry w bbcode odnośnie YT bo dzięki nim mamy możliwość ustawienia np szerokości filmu itp. Info poniżej:
[youtube]{youtube link}[/youtube]
[youtube width=x height=y]{youtube link}[/youtube]
[yt]{youtube ID}[/yt]
[yt {parameters}]{youtube ID}[/yt]
[yt_user]{username}[/yt_user]
[yt_user {parameters}]{username}[/yt_user]
[yt_search]{search query}[/yt_search]
[yt_search {parameters}]{search query}[/yt_search]

Parametry i opcje:
Optional parameters and values for all YouTube bbcodes are:
o width = Specifies the width of the iframe area.
o height = Specifies the height of the iframe area.
o start = Specifies how far into the video to start at.  Valid formats: "Seconds" or "Minutes:Seconds"
o end = Specifies how far into the video to stop at.  Valid formats: "Seconds" or "Minutes:Seconds"
o autoplay = 1, yes, on or true
o color = red or white
o theme = dark or light
o loop = 1, yes, on or true
o controls = 0, no, off, hide or false
o showinfo = 0, no, off, hide or false
o privacy = 1, yes, on or true