Display video in interface

Certified Associate Developer

Hi
I'm doing interface with the video component. I use the component videofield with webfield function and the video doesn't run. The video is in Appian Documental Manager and I have administrator permission.
My code is:

to! videoField (
tag: "Video",
labelPosition: "ABOVE",
videos: {
to! webVideo (source: "">xxxx.appiancloud.com/.../documentId")

}
)

Thanks.

  Discussion posts and replies are publicly visible

Parents
  • Hey Maria - I'm not sure if something happened with the code you pasted here, but the domains appear to be wrong for the functions. 

    Assuming that was just a copy/paste issue, how are you getting the url for the document? Maybe something is wrong with that.

    This expression works for me:

    a!videoField (
      videos: {
        a!webVideo (source: document(3448, "url"))
      }
    )

    This uses the document functions to get the URL. You can pass the relevant documentID to get the URL.

Reply
  • Hey Maria - I'm not sure if something happened with the code you pasted here, but the domains appear to be wrong for the functions. 

    Assuming that was just a copy/paste issue, how are you getting the url for the document? Maybe something is wrong with that.

    This expression works for me:

    a!videoField (
      videos: {
        a!webVideo (source: document(3448, "url"))
      }
    )

    This uses the document functions to get the URL. You can pass the relevant documentID to get the URL.

Children