Package railo.runtime.video

Examples of railo.runtime.video.VideoExecuter


public class IsVideoFile {

  public static boolean call(PageContext pc, String path) throws PageException {
    try {
      ConfigWeb config = pc.getConfig();
      VideoExecuter ve = VideoUtilImpl.createVideoExecuter(config);
      ve.info(config,new VideoInputImpl(Caster.toResource(pc,path, true)));
    }
    catch (Exception e) {
     
      if(StringUtil.contains(e.getMessage(),"missing ffmpeg installation"))
        throw Caster.toPageException(e);
View Full Code Here

TOP

Related Classes of railo.runtime.video.VideoExecuter

Copyright © 2018 www.massapicom. 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.