<?xml version="1.0" encoding="UTF-8"?>
<editor id="editor.video" openable="true" formId="videojs_previewer"
        mimes="flv,mov,mp4,m4v,m4a,aac,ogv,webm" previewProvider="true"
        text="video_editor.1" title="video_editor.1" iconClass="mdi mdi-filmstrip"
        className="PydioVideo" label="CONF_MESSAGE[Video Player]"
        description="CONF_MESSAGE[Inserts a video player in the info panel, either HTML5 or Flash depending on the format.]" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="file:../core.ajaxplorer/ajxp_registry.xsd">
	<class_definition filename="plugins/editor.video/VideoReader.php" classname="Pydio\Editor\Video\VideoReader"/>
    <client_settings>
        <resources>
            <js file="plugins/editor.video/res/build/PydioVideo.js" className="PydioVideo"/>
            <css file="plugins/editor.video/res/build/video-js.min.css"/>
            <i18n path="plugins/editor.video/i18n" namespace="video_editor"/>
        </resources>
    </client_settings>
    <clientForm id="videojs_previewer"><![CDATA[
         <div id="videojs_previewer" box_width="420"></div>
    ]]></clientForm>
	<registry_contributions>
		<actions>
			<action name="read_video_data" contentTypedProvider="true">
				<processing>
					<serverCallback methodName="switchAction" restParams="/file+" developerComment="Server a video file as a stream">
                        <input_param name="file" type="AJXP_NODE" description="Path to the file inside the workspace" mandatory="true"/>
					</serverCallback>
				</processing>
			</action>
		</actions>
	</registry_contributions>
	<dependencies>
		<!-- Stream Wrapper must be implemented -->
		<activePlugin pluginName="access.AJXP_STREAM_PROVIDER"/>
	</dependencies>
</editor>
