Platform Explorer / Nuxeo Platform 5.6

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

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 widgettypes of component WebLayoutManager.

Contributed items

  • <widgetType name="video_player">
          <documentation>
            This widget displays a HTML5 video player for browsers
            supporting it, and fallback on a Flash player for others.
            It uses the WebM or MP4 conversion (in 480p) of
            a document having the facet 'Video'.
          </documentation>
    
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/video_player_widget_template.xhtml
          </property>
        </widgetType>

    This widget displays a HTML5 video player for browsers supporting it, and fallback on a Flash player for others. It uses the WebM or MP4 conversion (in 480p) of a document having the facet 'Video'.

  • <widgetType name="video_storyboard">
          <documentation>
            This widget displays the story board of
            a document having the facet 'Video'.
          </documentation>
    
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/video_storyboard_widget_template.xhtml
          </property>
        </widgetType>

    This widget displays the story board of a document having the facet 'Video'.

  • <widgetType name="video_conversions">
          <documentation>
            This widget displays the list of available
            video conversions for the given Video document.
          </documentation>
    
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/video_conversions_widget_template.xhtml
          </property>
        </widgetType>

    This widget displays the list of available video conversions for the given Video document.

  • <widgetType name="video_info">
          <documentation>
            This widget displays the information of the main video of
            a document having the facet 'Video'.
          </documentation>
    
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/video_info_widget_template.xhtml
          </property>
        </widgetType>

    This widget displays the information of the main video of a document having the facet 'Video'.

XML source

<extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    <widgetType name="video_player">
      <documentation>
        This widget displays a HTML5 video player for browsers
        supporting it, and fallback on a Flash player for others.
        It uses the WebM or MP4 conversion (in 480p) of
        a document having the facet 'Video'.
      </documentation>

      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/video_player_widget_template.xhtml
      </property>
    </widgetType>

    <widgetType name="video_storyboard">
      <documentation>
        This widget displays the story board of
        a document having the facet 'Video'.
      </documentation>

      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/video_storyboard_widget_template.xhtml
      </property>
    </widgetType>

    <widgetType name="video_conversions">
      <documentation>
        This widget displays the list of available
        video conversions for the given Video document.
      </documentation>

      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/video_conversions_widget_template.xhtml
      </property>
    </widgetType>

    <widgetType name="video_info">
      <documentation>
        This widget displays the information of the main video of
        a document having the facet 'Video'.
      </documentation>

      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/video_info_widget_template.xhtml
      </property>
    </widgetType>
  </extension>