Nuxeo ECM Projects 5.6-RC1

org.nuxeo.ecm.platform.video
Class VideoActions

java.lang.Object
  extended by org.nuxeo.ecm.platform.video.VideoActions
All Implemented Interfaces:
Serializable

@Name(value="videoActions")
@Install(precedence=10)
public class VideoActions
extends Object
implements Serializable

Author:
"Benjamin JALON"
See Also:
Serialized Form

Constructor Summary
VideoActions()
           
 
Method Summary
 String getStatusMessageFor(VideoConversionStatus status)
           
 TranscodedVideo getTranscodedVideo(DocumentModel doc, String name)
           
 String getTranscodedVideoURL(DocumentModel doc, String name)
           
 String getURLForPlayer(DocumentModel doc)
           
 String getURLForStaticPreview(DocumentModel videoDoc)
           
 VideoConversionStatus getVideoConversionStatus(DocumentModel doc, String conversionName)
           
 boolean isChromeHTML5()
           
 boolean isFirefoxHTML5()
           
 boolean isSafariHTML5()
           
 void launchConversion(DocumentModel doc, String conversionName)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VideoActions

public VideoActions()
Method Detail

getURLForPlayer

public String getURLForPlayer(DocumentModel doc)
                       throws ClientException
Throws:
ClientException

getTranscodedVideoURL

public String getTranscodedVideoURL(DocumentModel doc,
                                    String name)

getTranscodedVideo

public TranscodedVideo getTranscodedVideo(DocumentModel doc,
                                          String name)

getURLForStaticPreview

public String getURLForStaticPreview(DocumentModel videoDoc)
                              throws ClientException
Throws:
ClientException

getVideoConversionStatus

public VideoConversionStatus getVideoConversionStatus(DocumentModel doc,
                                                      String conversionName)

getStatusMessageFor

public String getStatusMessageFor(VideoConversionStatus status)

launchConversion

public void launchConversion(DocumentModel doc,
                             String conversionName)

isSafariHTML5

public boolean isSafariHTML5()

isChromeHTML5

public boolean isChromeHTML5()

isFirefoxHTML5

public boolean isFirefoxHTML5()

Nuxeo ECM Projects 5.6-RC1

Copyright © 2012 Nuxeo SA. All Rights Reserved.