Defining an External Video Content Type

A video content type must at least have the following:

  • A parameter called com.escenic.video that is set to true

  • A parameter called com.escenic.article.staging that is set to false

  • A basic field with:

    • mime-type set to application/json

    • a video sub-element with a value attribute set to true. This element must belong to the namespace http://xmlns.escenic.com/2010/video.

  • A decorator called videoArticleDecorator

The following example shows such a minimal content-type:

<content-type name="external-video">
  <parameter name="com.escenic.video" value="true"/>
  <parameter name="com.escenic.article.staging" value="false"/>
  <ui:decorator name="videoArticleDecorator"/>
  <panel name="main">
    <field name="video" type="basic" mime-type="application/json">
      <video xmlns="http://xmlns.escenic.com/2010/video" enabled="true"/>
    </field>
  </panel>
</content-type>

Here is a more realistic version of the same example, this time including a title field, label and so on, but with the important parts highlighted.

<content-type name="external-video">
  <parameter name="com.escenic.video" value="true"/>
  <parameter name="com.escenic.article.staging" value="false"/>
  <ui:icon>graphic</ui:icon>
  <ui:label>External video</ui:label>
  <ui:title-field>title</ui:title-field>
  <ui:decorator name="videoArticleDecorator"/>
  <panel name="main">
    <field name="title" type="basic" mime-type="text/plain"/>
    <field name="video" type="basic" mime-type="application/json">
      <video xmlns="http://xmlns.escenic.com/2010/video" enabled="true"/>
    </field>
  </panel>
</content-type>

The com.escenic.video parameter identifies the content type as a video content type managed by the Video plug-in. The com.escenic.article.staging parameter specifies that content item staging must be disabled for this content type. If content item staging is disabled generally at your installation or for the whole publication, then you can omit this parameter. (For general information about content item staging, see the Escenic Content Engine Advanced Developer Guide.)

On Windows clients only, and only if Escenic Content Pilot is installed, Content Studio includes a special Viz Content Pilot panel that you use to select video from Viz Media Engine. For more information about this, see Working With Media Content Items.

You can use external video content types to include video content from any external source, not just from Viz Media Engine. However, only Viz Media Engine video content can be directly accessed from within Content Studio. Video content from other sources can only be added via the web service (see Web Service-Based Automation) or the import system (see Syndication-Based Automation).