youtube videos

Get help with installation and running phpBB 3.1.x here. Please do not post bug reports, feature requests, or extension related questions here.
Get Involved
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: phpBB 3.1.x is at its End of Life stage and support will NOT be provided after July 1st, 2018.
Locked
User avatar
CarpCharacin
Registered User
Posts: 475
Joined: Sat Dec 06, 2014 1:59 pm
Location: Salt Lake City, Utah
Name: James
Contact:

youtube videos

Post by CarpCharacin »

How can i add a way to embed youtube videos in a post?
User avatar
Lumpy Burgertushie
Registered User
Posts: 69223
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: youtube videos

Post by Lumpy Burgertushie »

starting with the search function is always good:
https://www.phpbb.com/search/?q=embed+youtube+in+post

robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
Trout Anglers NW
Registered User
Posts: 51
Joined: Sun Nov 16, 2014 7:55 pm

Re: youtube videos

Post by Trout Anglers NW »

CarpCharacin wrote:How can i add a way to embed youtube videos in a post?
This extension worked well for my board.
viewtopic.php?f=456&t=2272431
User avatar
Lumpy Burgertushie
Registered User
Posts: 69223
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: youtube videos

Post by Lumpy Burgertushie »

or just use a bbcode from the 3.0 bbcode section. they still work and require no code edits or extensions.

either way is fine.

robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
stupid_1
Registered User
Posts: 36
Joined: Fri Nov 21, 2014 8:32 pm

Re: youtube videos

Post by stupid_1 »

BBCode usage:

Code: Select all

[youtube]{SIMPLETEXT}[/youtube]
HTML replacement:

Code: Select all

<object type="application/x-shockwave-flash" style="width:420px; height:315px;" data="http://www.youtube.com/v/{SIMPLETEXT}?color2=FBE9EC&version=3">
        <param name="movie" value="http://www.youtube.com/v/{SIMPLETEXT}?color2=FBE9EC&version=3" />
        <param name="allowFullScreen" value="true" />
        <param name="allowscriptaccess" value="always" />
        </object><div style="font-size: 0.8em"></div>
Hope this helps. :) for me the phpbb 3.0 code didt not work that's why.
User avatar
Lumpy Burgertushie
Registered User
Posts: 69223
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: youtube videos

Post by Lumpy Burgertushie »

that is one of the same bbcodes that 3.0 uses. however it is outdated because youtube now uses the iframe embed code as default. you can still find the old code but it is not easy.

bottom line is whatever works for you is fine.

robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
User avatar
CarpCharacin
Registered User
Posts: 475
Joined: Sat Dec 06, 2014 1:59 pm
Location: Salt Lake City, Utah
Name: James
Contact:

Re: youtube videos

Post by CarpCharacin »

i found a bb code that worked
Locked

Return to “[3.1.x] Support Forum”