Skip to main content
Known Participant
Nov 21, 2024 3:56 AM UTC
Solved

Video loop in a site landing page option?

We currently support a site with a static image on entry for our internal users and customers. I was wondering if it's possible to have a video loop play in the background on entry navigation in Appian before progressing into the applications?

As an example of a website that depicts a real pop in what the business offers: Kirby Corp has a great video of how the business moves chemical pressurized, dry bulk, or heavy product while still allowing the users to interact with the interface.

    Participating Frequently
    Nov 21, 2024 6:48 AM UTC

    Hi Joet,

    Below is the sample code to display the video loop at the landing page.

    a!headerContentLayout(
      header: a!billboardLayout(
        backgroundMedia: a!webVideo(
          source: "https://kirbycorp.com/wp-content/uploads/2022/04/Kirby-Banner-v5.mp4"
        )
      )
    )

    Replace the source URL with the web video you want to display on the landing page.

    3 replies

    Participating Frequently
    Nov 21, 2024 6:48 AM UTC

    Hi Joet,

    Below is the sample code to display the video loop at the landing page.

    a!headerContentLayout(
      header: a!billboardLayout(
        backgroundMedia: a!webVideo(
          source: "https://kirbycorp.com/wp-content/uploads/2022/04/Kirby-Banner-v5.mp4"
        )
      )
    )

    Replace the source URL with the web video you want to display on the landing page.

    stefanhelzle0001
    Brainy
    Nov 21, 2024 7:01 AM UTC

    When using a billboard layout, you can use an animated gif as the background. It will play in a loop.

    joet0002Author
    Known Participant
    Nov 22, 2024 3:28 AM UTC

    Excellent! Thank you all!