Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.ecm.platform.video.layouts--widgets

This contribution is part of XML component org.nuxeo.ecm.platform.video.layouts inside nuxeo-platform-video-jsf-5.6-RC3.jar

Extension point

Extension point widgets of component WebLayoutManager.

Contributed items

  • <widget name="summary_video_player" type="video_player">
          <properties widgetMode="any">
            <property name="width">550</property>
            <property name="height">310</property>
          </properties>
        </widget>
  • <widget name="summary_video_storyboard" type="video_storyboard">
          <labels>
            <label mode="any">heading.storyboard</label>
          </labels>
          <translated>true</translated>
        </widget>
  • <widget name="summary_video_conversions" type="video_conversions"/>
  • <widget name="summary_video_info" type="video_info"/>
  • <widget name="video_info_duration" type="text">
          <labels>
            <label mode="any">label.widget.video.duration</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>vid:info/duration</field>
          </fields>
          <widgetModes>
            <mode value="any">view</mode>
          </widgetModes>
        </widget>
  • <widget name="video_info_width" type="int">
          <labels>
            <label mode="any">label.widget.video.width</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>vid:info/width</field>
          </fields>
          <widgetModes>
            <mode value="any">view</mode>
          </widgetModes>
        </widget>
  • <widget name="video_info_height" type="int">
          <labels>
            <label mode="any">label.widget.video.height</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>vid:info/height</field>
          </fields>
          <widgetModes>
            <mode value="any">view</mode>
          </widgetModes>
        </widget>
  • <widget name="video_info_format" type="text">
          <labels>
            <label mode="any">label.widget.video.format</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>vid:info/format</field>
          </fields>
          <widgetModes>
            <mode value="any">view</mode>
          </widgetModes>
        </widget>
  • <widget name="video_info_frameRate" type="text">
          <labels>
            <label mode="any">label.widget.video.frameRate</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>vid:info/frameRate</field>
          </fields>
          <widgetModes>
            <mode value="any">view</mode>
          </widgetModes>
        </widget>
  • <widget name="video_info_streams" type="list">
          <labels>
            <label mode="any">label.widget.video.streams</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>vid:info/streams</field>
          </fields>
          <properties widgetMode="edit">
            <property name="required">true</property>
          </properties>
          <subWidgets>
            <widget name="listItem" type="text">
              <fields>
                <field>streamInfo</field>
              </fields>
              <labels>
                <label mode="any"/>
              </labels>
              <widgetModes>
                <mode value="any">view</mode>
              </widgetModes>
            </widget>
          </subWidgets>
        </widget>

XML source

<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    <widget name="summary_video_player" type="video_player">
      <properties widgetMode="any">
        <property name="width">550</property>
        <property name="height">310</property>
      </properties>
    </widget>
    <widget name="summary_video_storyboard" type="video_storyboard">
      <labels>
        <label mode="any">heading.storyboard</label>
      </labels>
      <translated>true</translated>
    </widget>
    <widget name="summary_video_conversions" type="video_conversions"/>
    <widget name="summary_video_info" type="video_info"/>

    <widget name="video_info_duration" type="text">
      <labels>
        <label mode="any">label.widget.video.duration</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>vid:info/duration</field>
      </fields>
      <widgetModes>
        <mode value="any">view</mode>
      </widgetModes>
    </widget>

    <widget name="video_info_width" type="int">
      <labels>
        <label mode="any">label.widget.video.width</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>vid:info/width</field>
      </fields>
      <widgetModes>
        <mode value="any">view</mode>
      </widgetModes>
    </widget>

    <widget name="video_info_height" type="int">
      <labels>
        <label mode="any">label.widget.video.height</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>vid:info/height</field>
      </fields>
      <widgetModes>
        <mode value="any">view</mode>
      </widgetModes>
    </widget>

    <widget name="video_info_format" type="text">
      <labels>
        <label mode="any">label.widget.video.format</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>vid:info/format</field>
      </fields>
      <widgetModes>
        <mode value="any">view</mode>
      </widgetModes>
    </widget>

    <widget name="video_info_frameRate" type="text">
      <labels>
        <label mode="any">label.widget.video.frameRate</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>vid:info/frameRate</field>
      </fields>
      <widgetModes>
        <mode value="any">view</mode>
      </widgetModes>
    </widget>

    <widget name="video_info_streams" type="list">
      <labels>
        <label mode="any">label.widget.video.streams</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>vid:info/streams</field>
      </fields>
      <properties widgetMode="edit">
        <property name="required">true</property>
      </properties>
      <subWidgets>
        <widget name="listItem" type="text">
          <fields>
            <field>streamInfo</field>
          </fields>
          <labels>
            <label mode="any"/>
          </labels>
          <widgetModes>
            <mode value="any">view</mode>
          </widgetModes>
        </widget>
      </subWidgets>
    </widget>
  </extension>