Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
Militopedia CreditAttribution: Militopedia commentedHello,
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
Comment #2
blackdog CreditAttribution: blackdog commentedNo, align center is not an option. Margin and padding can be set with CSS.
Comment #4
agentpt CreditAttribution: agentpt commentedHip hip Hooray...nothing solved
Comment #5
blackdog CreditAttribution: blackdog commented@agentpt - Huh?
Comment #6
agentpt CreditAttribution: agentpt commentedOops sorry...posted reply in wrong thread..too many tabs open
Comment #7
sayansk CreditAttribution: sayansk commentedHow 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?