Jive API (3.0.13) Core Javadocs

com.jivesoftware.community.media.video
Class DefaultVideoSettingsManager

java.lang.Object
  extended by com.jivesoftware.community.media.video.DefaultVideoSettingsManager
All Implemented Interfaces:
VideoSettingsManager

public class DefaultVideoSettingsManager
extends Object
implements VideoSettingsManager

Class enabling custom player and publish profiles to be used. The goal is that if a customer wants any custom play profiles you can override this class to point to the appropriate player.


Field Summary
 
Fields inherited from interface com.jivesoftware.community.media.video.VideoSettingsManager
AUTH, BLOG_PLAYER, DEFAULT_PLAYER, DISCUSSION_PLAYER, DOCUMENT_PLAYER, EMBED_WORKFLOW, EMBED_WORKFLOW_NOCAM, MAX_PLAYS_PER_TOKEN, MAX_TIME_PER_TOKEN, VIDEO_PLAYER, WATERMARKID, WEBCAM, WORKFLOW, WORKFLOW_NOCAM
 
Constructor Summary
DefaultVideoSettingsManager()
           
 
Method Summary
 String getBlogPlayerName()
          Returns the name of the video player skin used for videos embedded in blog posts.
 String getDefaultPlayerName()
          Returns the name of the default video player
 String getDiscussionPlayerName()
          Returns the name of the video player used for videos embedded in discussions.
 String getDocumentPlayerName()
          Returns the name of the video player used for videos embedded in documents.
 String getEmbedNoCamWorkflowName()
          Retrieves the name of the workflow for uploading video as embedded content with no support for webcam video embedding
 String getEmbedWorkflowName()
          Retrieves the name of the workflow for uploading video as embedded content or inserting webcam recorded video as embedded content.
 int getMaxPlaysPerToken()
          Returns the maximum number of video plays allowed before a token is invalidated
 int getTokenTimeOut()
          Returns the timeout period before a token is invalidated
 String getVideoNoCamWorkflowName()
          Retrieves the name of the workflow for uploading video content with no webcam support.
 String getVideoPlayerName()
          Returns the name of the video player used for videos that are not embedded.
 String getVideoWorkflowName()
          Retrieves the name of the workflow for uploading video content or creating a new video from a webcam recording session.
 boolean isAuthenticationEnabled()
          Returns true if authenticated video streams are enabled, false otherwise.
 boolean isWebCamEnabled()
          Returns true if the webcam recording feature is turned on, false otherwise
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultVideoSettingsManager

public DefaultVideoSettingsManager()
Method Detail

isWebCamEnabled

public boolean isWebCamEnabled()
Description copied from interface: VideoSettingsManager
Returns true if the webcam recording feature is turned on, false otherwise

Specified by:
isWebCamEnabled in interface VideoSettingsManager
Returns:
true if webcam recording is enabled

isAuthenticationEnabled

public boolean isAuthenticationEnabled()
Description copied from interface: VideoSettingsManager
Returns true if authenticated video streams are enabled, false otherwise. If authenticated streams are enabled, then before video playback the video player will perform a callback to determine if the effective user is permitted to view the given video. If authenticated streams are disabled, then streams can be intercepted and anyone one with access to the video url can play the video. Authenticated streams are appropriate for sites with stringent security requirments and that only allow registered users to view videos. It is recommended that high volume publicly accessible (on the WWW) sites only use unauthenticated streams since bypassing the authentication process will speed video playback

Specified by:
isAuthenticationEnabled in interface VideoSettingsManager
Returns:
true if authenticated video streams are enabled, false otherwise.

getMaxPlaysPerToken

public int getMaxPlaysPerToken()
Description copied from interface: VideoSettingsManager
Returns the maximum number of video plays allowed before a token is invalidated

Specified by:
getMaxPlaysPerToken in interface VideoSettingsManager
Returns:
the maximum plays per token

getTokenTimeOut

public int getTokenTimeOut()
Description copied from interface: VideoSettingsManager
Returns the timeout period before a token is invalidated

Specified by:
getTokenTimeOut in interface VideoSettingsManager

getVideoPlayerName

public String getVideoPlayerName()
Description copied from interface: VideoSettingsManager
Returns the name of the video player used for videos that are not embedded.

Specified by:
getVideoPlayerName in interface VideoSettingsManager
Returns:
player name

getDiscussionPlayerName

public String getDiscussionPlayerName()
Description copied from interface: VideoSettingsManager
Returns the name of the video player used for videos embedded in discussions.

Specified by:
getDiscussionPlayerName in interface VideoSettingsManager
Returns:
player name

getDocumentPlayerName

public String getDocumentPlayerName()
Description copied from interface: VideoSettingsManager
Returns the name of the video player used for videos embedded in documents.

Specified by:
getDocumentPlayerName in interface VideoSettingsManager
Returns:
player name

getBlogPlayerName

public String getBlogPlayerName()
Description copied from interface: VideoSettingsManager
Returns the name of the video player skin used for videos embedded in blog posts.

Specified by:
getBlogPlayerName in interface VideoSettingsManager
Returns:
player skin name

getDefaultPlayerName

public String getDefaultPlayerName()
Description copied from interface: VideoSettingsManager
Returns the name of the default video player

Specified by:
getDefaultPlayerName in interface VideoSettingsManager
Returns:
player name

getEmbedWorkflowName

public String getEmbedWorkflowName()
Description copied from interface: VideoSettingsManager
Retrieves the name of the workflow for uploading video as embedded content or inserting webcam recorded video as embedded content.

Specified by:
getEmbedWorkflowName in interface VideoSettingsManager
Returns:
the workflow name

getVideoWorkflowName

public String getVideoWorkflowName()
Description copied from interface: VideoSettingsManager
Retrieves the name of the workflow for uploading video content or creating a new video from a webcam recording session.

Specified by:
getVideoWorkflowName in interface VideoSettingsManager
Returns:
the workflow name

getEmbedNoCamWorkflowName

public String getEmbedNoCamWorkflowName()
Description copied from interface: VideoSettingsManager
Retrieves the name of the workflow for uploading video as embedded content with no support for webcam video embedding

Specified by:
getEmbedNoCamWorkflowName in interface VideoSettingsManager
Returns:
the workflow name

getVideoNoCamWorkflowName

public String getVideoNoCamWorkflowName()
Description copied from interface: VideoSettingsManager
Retrieves the name of the workflow for uploading video content with no webcam support.

Specified by:
getVideoNoCamWorkflowName in interface VideoSettingsManager
Returns:
the workflow name

Jive Product Page

Copyright © 1999-2007 Jive Software.