follow us on twitter . like us on facebook . follow us on instagram . subscribe to our youtube channel . announcements on telegram channel . ask urgent question ONLY . Subscribe to our reddit





Author Topic: Adding Youtube Videos  (Read 5503 times)

admin

  • Administrator
  • Legend
  • *****
  • *
  • Activity: 1468
  • points:
    21247
  • Karma: 536
  • [email protected]
  • Trade Count: (0)
  • Referrals: 14
  • Last Active: Today at 12:07:18 AM
    • View Profile

  • Total Badges: 28
    Badges: (View All)
    Avatar Linux User Mobile User
Adding Youtube Videos
« on: October 19, 2017, 06:37:54 PM »
Simple: Just add the youtube link to the message text.


for more complex options:


Just put the link between the below code

Code: [Select]
[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]

where width and height is specified by x and y.  If width and height aren't specified, width is 100% of the post display area and height in a 16:9 ratio to the width.

The yt_user bbcode will show videos by the specified YouTube username.

The yt_search bbcode will show videos matching the provided search phrase.


Direct links also work
    For YouTube Videos:
    by id needs tags, full links no need for tags
    fA4cphzsjn8
   
Code: [Select]
[youtube]http://www.youtube.com/fA4cphzsjn8[/youtube]
    [youtube]http://www.youtube.com/embed/fA4cphzsjn8[/youtube]
    [youtube]http://www.youtube.com/embed?v=fA4cphzsjn8[/youtube]
    [youtube]http://www.youtube.com/embed?feature=player_embedded&v=fA4cphzsjn8[/youtube]
    [youtube]http://www.youtube.com/watch?v=fA4cphzsjn8[/youtube]
    [youtube]http://www.youtube.com/v/fA4cphzsjn8[/youtube]
    [youtube]http://www.youtube.com/e/fA4cphzsjn8[/youtube]
    [youtube]http://www.youtube.com/?v=fA4cphzsjn8[/youtube]
    [youtube]http://www.youtube.com/user/username#p/u/11/fA4cphzsjn8[/youtube]
    [youtube]http://www.youtube.com/sandalsResor[/youtube]ts#p/c/54B8C800269D7C1B/0/fA4cphzsjn8
    [youtube]http://www.youtube.com/watch?feature=player_embedded&v=fA4cphzsjn8[/youtube]
    [youtube]http://www.youtube.com/?feature=player_embedded&v=fA4cphzsjn8[/youtube]

    For YouTube PlayLists:
    by id needs tags, full links no need for tags
    PL55713C70BA91BD6E
    PLquckZj9TVRFKWqM6LJI4a_dgvN48jZGk
   
Code: [Select]
http://www.youtube.com/e/PL55713C70BA91BD6E
    [youtube]http://www.youtube.com/p/PL55713C70BA91BD6E[/youtube]
    [youtube]http://www.youtube.com/embed/PL55713C70BA91BD6E[/youtube]
    [youtube]http://www.youtube.com/embed?list=PL55713C70BA91BD6E[/youtube]
    [youtube]http://www.youtube.com/embed?feature=player_embedded&list=PL55713C70BA91BD6E[/youtube]
    [youtube]http://www.youtube.com/watch?v=OPf0YbXqDm0&list=PL55713C70BA91BD6E[/youtube]
    [youtube]http://www.youtube.com/?list=PL55713C70BA91BD6E[/youtube]
    [youtube]http://www.youtube.com/?feature=player_embedded&list=PL55713C70BA91BD6E[/youtube]
    [youtube]https://www.youtube.com/embed/videoseries?list=PLquckZj9TVRFKWqM6LJI4a_dgvN48jZGk[/youtube]
    [youtube]https://www.youtube.com/watch?v=Ni4ZclaiOtY&list=PLquckZj9TVRFKWqM6LJI4a_dgvN48jZGk[/youtube]

Substituting http://youtube.com, http://www.youtube-nocookies.com, http://youtu.be, and http://www.youtu.be also works.  https:// works instead of http://.  Please note any other parameters specified in the URL are ignored.

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
« Last Edit: December 13, 2017, 06:19:32 PM by admin »

Altcoins Talks - Cryptocurrency Forum

Adding Youtube Videos
« on: October 19, 2017, 06:37:54 PM »


rahul10948

  • Full Member
  • *
  • *
  • Activity: 270
  • points:
    143
  • Karma: 1
  • @itmakesense: Earing Cryptocurrency Sens-fully
  • Trade Count: (0)
  • Referrals: 0
  • Last Active: November 04, 2018, 01:56:21 PM
    • View Profile

  • Total Badges: 7
    Badges: (View All)
    Topic Starter 100 Posts 50 Posts
Re: Adding Youtube Videos
« Reply #1 on: October 30, 2017, 07:39:05 AM »
it will take a little more time to understood the coding part...but i will try it out
█  █
█  █
█  █
█  █
█  █
█  █
█  █
█  █
.
█  █
█  █
█  █
█  █
█  █
█  █
█  █
█  █
.
.
█  █
█  █
█  █
█  █
█  █
█  █
█  █
█  █

Altcoins Talks - Cryptocurrency Forum

Re: Adding Youtube Videos
« Reply #1 on: October 30, 2017, 07:39:05 AM »
:)

Cordillerabit

  • Legend
  • *
  • *
  • *
  • Activity: 2793
  • points:
    24500
  • Karma: 79
  • Proud to be here
  • Trade Count: (0)
  • Referrals: 32
  • Last Active: Today at 08:44:23 AM
    • View Profile

  • Total Badges: 22
    Badges: (View All)
    2500 Posts Third year Anniversary 10 Poll Votes
Re: Adding Youtube Videos
« Reply #2 on: November 28, 2017, 01:13:01 PM »
ill try this code some of my recent thread very effective  :)

adotrulez

  • Jr. Member
  • *
  • Activity: 79
  • points:
    837
  • Karma: 1
  • Trade Count: (0)
  • Referrals: 0
  • Last Active: February 13, 2018, 01:15:53 AM
    • View Profile

  • Total Badges: 0
    Badges: (View All)
Re: Adding Youtube Videos
« Reply #3 on: December 03, 2017, 12:40:23 PM »
I didn't really understand this..But will look it up online for more knowledge

majes73

  • Baby Steps
  • *
  • Activity: 20
  • points:
    14
  • Karma: 0
  • Trade Count: (0)
  • Referrals: 0
  • Last Active: December 28, 2017, 03:05:50 PM
    • View Profile

  • Total Badges: 0
    Badges: (View All)
Re: Adding Youtube Videos
« Reply #4 on: December 13, 2017, 06:17:55 PM »
Thank you I will give it a try

 

ETH & ERC20 Tokens Donations: 0x2143F7146F0AadC0F9d85ea98F23273Da0e002Ab
BNB & BEP20 Tokens Donations: 0xcbDAB774B5659cB905d4db5487F9e2057b96147F
Powered by SMFPacks Social Login Mod