The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Resize videos in the chat

5 posters

Go down

Solved Resize videos in the chat

Post by angel_of_night 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
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 October 23rd 2013, 3:45 pm

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

vega
avatar
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 October 23rd 2013, 3:45 pm

Youtube.
angel_of_night
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 October 23rd 2013, 3:47 pm

avatar
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 October 23rd 2013, 3:53 pm

That doesn't help me.
angel_of_night
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 October 23rd 2013, 3:54 pm

why not? do what kirk said :p

vega
avatar
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 October 23rd 2013, 3:55 pm

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

Male Posts : 2537
Reputation : 166
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 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
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 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
avatar
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 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]
avatar
runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 166
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 October 23rd 2013, 4:04 pm

The thing is.... im not the one posting videos, other people are.
angel_of_night
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 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.
avatar
runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 166
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 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
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 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.
avatar
runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 166
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 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
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Resize videos in the chat

Post by angel_of_night 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
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 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
avatar
runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 166
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 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
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Resize videos in the chat

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

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

And runawayhorses, don't be so pessimistic next time, doesn't do anyt good to you. Wink
angel_of_night
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 October 24th 2013, 5:03 pm

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

And runawayhorses, 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: 
avatar
runawayhorses
Hyperactive

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

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: Resize videos in the chat

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

Topic Solved & Locked


Resize videos in the chat Slgray10

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

Male Posts : 51464
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top


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