Hello,

I was wondering if it is possible to float the video left or right. I tried to use a wysiwyg editor to center it but was not successful.

Also, how can I use the features mentioned on the project page:

# Aligning the embedded video left or right.
# Extensions may use additional attributes, e.g. the YouTube extension has a playlist attribute to load a random video from a playlist.

Thanks,
Roger

Comments

Militopedia’s picture

Hello,

OK, I figured it out by looking at the module file.

[video:url align:right]

Strangely, align:center doesn't work. Should it work?

And if I use align:left or right there is no margin between the text and the video. Isn't there a possibility to add a margin or padding?

Thanks,
Roger

blackdog’s picture

Status: Active » Fixed

No, align center is not an option. Margin and padding can be set with CSS.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

agentpt’s picture

Hip hip Hooray...nothing solved

blackdog’s picture

@agentpt - Huh?

agentpt’s picture

Oops sorry...posted reply in wrong thread..too many tabs open

sayansk’s picture

Issue summary: View changes

How to solve this problem? I want to insert video into text. Enclose it in div style = float: left (as well as for images), but not from the edge of the indentation. Change div style I can not, because it affects the image. Is there any way for the video to make your css?

Как решить эту проблему? Я Хочу вставить видео в текст. Заключаю его в div style=float:left (так же, как для картинок), но отступа от края нет. Поменять стиль div не могу, потому что он влияет и на картинки. Можно ли как-нибудь для видео сделать свой css?