Package ch.entwine.weblounge.common.content.movie

Examples of ch.entwine.weblounge.common.content.movie.MovieResource.switchTo()


    MovieContent videoContent = null;

    // Store the result in the jsp page context
    try {
      video = (MovieResource) repository.get(uri);
      video.switchTo(language);
      videoContent = video.getContent(language);
      if (videoContent == null)
        videoContent = video.getOriginalContent();
    } catch (ContentRepositoryException e) {
      logger.warn("Error trying to load video resource " + uri + ": " + e.getMessage(), e);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.