Class VideoEntity

All Implemented Interfaces:
Serializable, org.silverpeas.core.web.rs.WebEntity

public class VideoEntity extends AbstractMediaEntity<VideoEntity>
Author:
Yohann Chastagnier
See Also:
  • Constructor Details

    • VideoEntity

      protected VideoEntity()
  • Method Details

    • createFrom

      public static VideoEntity createFrom(Video video)
      Creates a new video entity from the specified video.
      Parameters:
      video - the video from which the entity is constructed.
      Returns:
      the entity representing the specified video.
    • getEmbedUrl

      public URI getEmbedUrl()