Accessing Video Items from Templates

You can access the transcoded versions of a video from your JSP templates using JSTL as follows (in all the examples video-field-name is the name of the video field in your content type and index is the index of the transcoded version you want):

  • To access the URI of a transcoded video stored on the Viz One Publisher server:

    ${article.fields.video-field-name.value.video[index].uri}
  • To access the video's MIME type:

    ${article.fields.video-field-name.value.video[index].mime-type}
  • To access the video's height:

    ${article.fields.video-field-name.value.video[index].height}
  • To access the video's width:

    ${article.fields.video-field-name.value.video[index].width}