1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XenForo Media Gallery styling question

Discussion in 'Media Gallery Support' started by teletubbi, Apr 3, 2015.

  1. teletubbi

    teletubbi Active Member

    When posting a video from the gallery using bbcode i got this result.
    Description cameright behind the video. Don`t look very nice.

    lucky 1.jpg

    Here the code i found.

    lucky 2.jpg

    If i put a <br> between the iframe part and the description

    lucky 3.jpg

    i got this result. Looks much better.

    lucky 4.jpg

    But i can`t find the place where i can put it into a template.
    So till now it is only temporary.

    Any hint?
     
  2. Mike

    Mike XenForo Developer Staff Member

    How did you embed the video? With the media tag of the gallery tag?

    With the gallery tag it seems to work without an issue (though it may vary depending on your config). With the media embed, it is just a single line. You'd have to change that in xengallery_media_view_sidebar.
     
  3. teletubbi

    teletubbi Active Member

    I use this tag

    Code:
    [MEDIA=youtube]wxxxrvSxwA4[/MEDIA]Logging 27.März 2015/6  MVI 1077 - YouTube erstellt von Lucky, Freitag um 19:53 Uhr
    I will look into it.
     
  4. teletubbi

    teletubbi Active Member

    Ok find it.
    Is this line.

    Code:
    <input type="text" class="copyCtrl CopyInput textCtrl iconInput full" id="ShareVideoBbInput" value="{$media.media_tag}{xen:phrase xengallery_x_by_y_posted_z, 'title={$media.media_title}', 'user={$media.username}', 'date={xen:datetime $media.media_date}'}" />
    I guess after {$media.media_tag} there must be the break.

    But how to do it?
     
  5. Mike

    Mike XenForo Developer Staff Member

    I believe you would need to change it into a textarea then (assuming that would still keep all of the behaviors).
     
  6. Chris D

    Chris D XenForo Developer Staff Member

    Another solution would be to change the embed code HTML itself so it is wrapped in a div.
     

Share This Page