Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • zimmertyzim 4 posts 84 karma points
    Jul 10, 2019 @ 14:25
    zimmertyzim
    0

    mapping / links two media files together

    Hi,

    I think this will be easier to understand by explaining the scenario.

    Event > Properties

    Proprties, include Start, End, Location and Images. Images is just a media picker that allows multiple items. We then render those items on the given event page.

    The client has asked if we can add the option to include an event video. This isn't a problem it works the exact same way. However they'd like multiple videos with a poster / holding image.

    (poster is an HTML attribute, defining the image you see prior to playback)

    If they wanted a single video only this wouldn't be a problem. However having multiple videos means there's no clear way of mapping the poster image to a media file.

    Do you have any suggestions as to the best way of handling this?

    Thanks

  • Søren Kottal 430 posts 2622 karma points MVP c-trib
    Jul 10, 2019 @ 21:04
    Søren Kottal
    100

    I would add a media picker to your video media type, so you can select the poster image on the video it self.

    Or, you can do it with Nested Content and have a doctype for selecting video and poster image (and other video related properties).

  • zimmertyzim 4 posts 84 karma points
    Jul 18, 2019 @ 08:52
    zimmertyzim
    0

    In the end I went for nested content. It is what I wanted to avoid as all videos on the site are added directly to through media picker properties on top of existing content, but it works all the same.

Please Sign in or register to post replies

Write your reply to:

Draft