The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Resize videos in the chat

View previous topic View next topic Go down

Solved Resize videos in the chat

Post by angel_of_night on October 23rd 2013, 3:42 pm

How can I resize videos in the chatbox?


Last edited by angel_of_night on October 24th 2013, 3:53 pm; edited 1 time in total

angel_of_night
Forumember

Female Posts : 565
Reputation : 10
Language : portuguese

Back to top Go down

Solved Re: Resize videos in the chat

Post by v3ga on October 23rd 2013, 3:45 pm

Do you post them via the youtube option or an other one?

vega

v3ga
Forumember

Male Posts : 53
Reputation : 1
Language : english
Location : Belgium

http://element-nex.forumotion.com/

Back to top Go down

Solved Re: Resize videos in the chat

Post by angel_of_night on October 23rd 2013, 3:45 pm

Youtube.

angel_of_night
Forumember

Female Posts : 565
Reputation : 10
Language : portuguese

Back to top Go down

Solved Re: Resize videos in the chat

Post by v3ga on October 23rd 2013, 3:47 pm


v3ga
Forumember

Male Posts : 53
Reputation : 1
Language : english
Location : Belgium

http://element-nex.forumotion.com/

Back to top Go down

Solved Re: Resize videos in the chat

Post by angel_of_night on October 23rd 2013, 3:53 pm

That doesn't help me.

angel_of_night
Forumember

Female Posts : 565
Reputation : 10
Language : portuguese

Back to top Go down

Solved Re: Resize videos in the chat

Post by v3ga on October 23rd 2013, 3:54 pm

why not? do what kirk said :p

vega

v3ga
Forumember

Male Posts : 53
Reputation : 1
Language : english
Location : Belgium

http://element-nex.forumotion.com/

Back to top Go down

Solved Re: Resize videos in the chat

Post by runawayhorses on October 23rd 2013, 3:55 pm

Please expalin how you are posting youtube videos in your chatbox. Post the code you are using.

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: Resize videos in the chat

Post by angel_of_night on October 23rd 2013, 3:57 pm

People have been spamming my chatbox with videos using the [youtube] code.
I want to make them smaller.
I know there's codes for resizing images, which I am using, so I am certain there's one for videos.

angel_of_night
Forumember

Female Posts : 565
Reputation : 10
Language : portuguese

Back to top Go down

Solved Re: Resize videos in the chat

Post by v3ga on October 23rd 2013, 3:59 pm

ah that changes a whole lot, i thought you ment you were posting vids yourself. I'm not sure but this should resize things:

Code:
iframe {max-height:200px; max-width:305px;}
but dunno how to link it with the chatbox

vega

v3ga
Forumember

Male Posts : 53
Reputation : 1
Language : english
Location : Belgium

http://element-nex.forumotion.com/

Back to top Go down

Solved Re: Resize videos in the chat

Post by runawayhorses on October 23rd 2013, 4:03 pm

When you use the [youtube] code after you send the post it turns into something like this, you can change the size 425,350 to whatever you want by editing your post, however I wasn't aware you could post videos in the chatbox, so if you can then there is no way to edit it, so your only option would be to write the code first then send it, that's assuming this would work in the chatbox. It will for posts on the forum however.

Code:
[flash(425,350)]http://www.youtube.com/v/K-NbGo7yaUU[/flash]

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: Resize videos in the chat

Post by angel_of_night on October 23rd 2013, 4:04 pm

The thing is.... im not the one posting videos, other people are.

angel_of_night
Forumember

Female Posts : 565
Reputation : 10
Language : portuguese

Back to top Go down

Solved Re: Resize videos in the chat

Post by runawayhorses on October 23rd 2013, 4:07 pm

Well I'm surprised they can post videos in your default forumotion chatbox, if they can there is no settings to disable that or a way to resize the vids automatically.

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: Resize videos in the chat

Post by angel_of_night on October 23rd 2013, 4:16 pm

There's also ways to post a image, using [img] code. And there's a CSS code to resize them.

angel_of_night
Forumember

Female Posts : 565
Reputation : 10
Language : portuguese

Back to top Go down

Solved Re: Resize videos in the chat

Post by runawayhorses on October 23rd 2013, 4:19 pm

Good luck with that, but you can't even resize video on the forum automatically without javascript let alone the chatbox.

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: Resize videos in the chat

Post by Ange Tuteur on October 23rd 2013, 8:07 pm

Hello angel_of_night,

Try this for resizing videos in the chatbox:
Code:
p.chatbox_row_1 > span > span > span > embed,
p.chatbox_row_2 > span > span > span > embed{
max-height:200px !important;
max-width:300px !important;
}
Adjust the dimensions to whatever is preferred.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Resize videos in the chat

Post by angel_of_night on October 23rd 2013, 10:56 pm

Ohhh!!! That's working perfectly fine on the forum chatbox, unfortunately is not on the avacweb Sad is there a way to do it?

angel_of_night
Forumember

Female Posts : 565
Reputation : 10
Language : portuguese

Back to top Go down

Solved Re: Resize videos in the chat

Post by runawayhorses on October 23rd 2013, 11:05 pm

I stand corrected, and I heard from a very good source it wasn't possible without javascript on the forum, so I just assumed it wouldn't for the chatbox as well.

God luck again for making it work on avacweb chat. Smile

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: Resize videos in the chat

Post by Ange Tuteur on October 24th 2013, 1:55 am

Use this for Avacweb Chat:
Code:
div.chatbox_row_1 > span > span > span > embed,
div.chatbox_row_2 > span > span > span > embed{
max-height:200px !important;
max-width:300px !important;
}

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Resize videos in the chat

Post by angel_of_night on October 24th 2013, 3:51 pm

OMG!! That works like a charm!!! THANK YOU!

Andrunawayhorses, don't be so pessimistic next time, doesn't do anyt good to you. Wink

angel_of_night
Forumember

Female Posts : 565
Reputation : 10
Language : portuguese

Back to top Go down

Solved Re: Resize videos in the chat

Post by runawayhorses on October 24th 2013, 5:03 pm

@angel_of_night wrote:OMG!! That works like a charm!!! THANK YOU!

Andrunawayhorses, don't be so pessimistic next time, doesn't do anyt good to you. Wink
Just being a realest, codes don't work because you want them to. Smile

back atcha... :wouhou:

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: Resize videos in the chat

Post by SLGray on October 24th 2013, 6:30 pm

Topic Solved & Locked


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


SLGray
Administrator
Administrator

Male Posts : 35645
Reputation : 2374
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


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