Resize YouTube Videos

Go down

Solved Resize YouTube Videos

Post by AnyColor on August 31st 2018, 5:19 pm

Technical Details


Forum version : #phpBB2
Position : Founder
Concerned browser(s) : Mozilla Firefox
Who the problem concerns : All members
When the problem appeared : Since forum was created
Forum link : pwgenesis.forumotion.com

Description of problem

Is there a way, either through BBCode (like how you resize photos) or through a scipt (so its down automatically) to resize YouTube video displays on Messages/Posts?
avatar
AnyColor
Forumember

Male Posts : 42
Reputation : 2
Language : English
Location : Las Vegas

https://pwgenesis.forumotion.com

Back to top Go down

Solved Re: Resize YouTube Videos

Post by skouliki on August 31st 2018, 5:43 pm

hi


you can check this thread https://help.forumotion.com/t129868-auto-resize-and-center-youtube-videos?highlight=resize+YouTube

or just use this

Code:
[flash(600,500)]https://www.youtube.com/test[/flash]

you can edit manually the (600,500)
avatar
skouliki
Manager
Manager

Female Posts : 4777
Reputation : 788
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Resize YouTube Videos

Post by SarkZKalie on August 31st 2018, 10:10 pm

Add this to your CSS
Code:
.postbody iframe[src*="www.youtube.com"] {
    width: 800px;
    height: 400px;
    text-align: center;
    margin: 5px auto;
    display: block;
}
Note : This CSS will apply only if it's a link from YouTube, align center automatically without using a [center] bbcode.


avatar
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 957
Reputation : 157
Language : English

http://rotavn.forumotion.com

Back to top Go down

Solved Re: Resize YouTube Videos

Post by AnyColor on September 1st 2018, 3:02 am

Thank you for the reply @skouliki but for some reason [flash] tag doesn't bring up the youbtube videos for us.

You click on where the video is supposed to be and it asks to allow adobe flash player and once you select "allow" the area disappears and is blank. Any idea why cause that could circumvent another BIG problem for us! We moved over from ZetaBoards and all our old material is coded with [flash] that worked on Zeta.

Thank you a ton @SarkZKalie I wanted to edit the size and center of all our videos you are a mind reader!
avatar
AnyColor
Forumember

Male Posts : 42
Reputation : 2
Language : English
Location : Las Vegas

https://pwgenesis.forumotion.com

Back to top Go down

Solved Re: Resize YouTube Videos

Post by SLGray on September 1st 2018, 3:29 am

Are you not using the Youtube button in the editor?



When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
avatar
SLGray
Administrator
Administrator

Male Posts : 44478
Reputation : 3154
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Solved Re: Resize YouTube Videos

Post by SarkZKalie on September 1st 2018, 8:01 am

Glad I could help
Problem solved & topic archived.
Please read our forum rules:  ESF General Rules


avatar
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 957
Reputation : 157
Language : English

http://rotavn.forumotion.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum