@Name(value="videoActions") @Install(precedence=10) public class VideoActions extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected org.jboss.seam.faces.FacesMessages |
facesMessages |
protected Map<String,String> |
messages |
protected VideoService |
videoService |
Constructor and Description |
---|
VideoActions() |
Modifier and Type | Method and Description |
---|---|
String |
getStatusMessageFor(VideoConversionStatus status) |
TranscodedVideo |
getTranscodedVideo(DocumentModel doc,
String name) |
String |
getTranscodedVideoURL(DocumentModel doc,
String name) |
String |
getURLForPlayer(DocumentModel doc) |
String |
getURLForStaticPreview(DocumentModel videoDoc) |
protected String |
getUserAgent() |
VideoConversionStatus |
getVideoConversionStatus(DocumentModel doc,
String conversionName) |
boolean |
isChromeHTML5() |
boolean |
isFirefoxHTML5() |
boolean |
isSafariHTML5() |
void |
launchConversion(DocumentModel doc,
String conversionName) |
@In(create=true, required=false) protected org.jboss.seam.faces.FacesMessages facesMessages
@In(create=true) protected VideoService videoService
public VideoActions()
public String getURLForPlayer(DocumentModel doc)
public String getTranscodedVideoURL(DocumentModel doc, String name)
public TranscodedVideo getTranscodedVideo(DocumentModel doc, String name)
public String getURLForStaticPreview(DocumentModel videoDoc)
public VideoConversionStatus getVideoConversionStatus(DocumentModel doc, String conversionName)
public String getStatusMessageFor(VideoConversionStatus status)
public void launchConversion(DocumentModel doc, String conversionName)
public boolean isSafariHTML5()
public boolean isChromeHTML5()
public boolean isFirefoxHTML5()
protected String getUserAgent()
Copyright © 2018 Nuxeo. All rights reserved.