循环视频从标记A到标记B. [英] Loop Video from Marker A to Marker B

查看:85
本文介绍了循环视频从标记A到标记B.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有3个视频片段,希望中间片段循环,直到命令继续到第三个。在EE中,我在想要循环的视频的开头和结尾创建了一个标记。如何告诉S / L从第一段开始播放视频,
从第二段中的Marker A循环到Marker B,直到指示继续到第三段?谢谢你

解决方案

您需要一个自定义模板或带有一些自定义JavaScript代码的标准模板


以下是您描述的场景可能感兴趣的MediaPlayer的一些方面


        ///< summary>

        ///到达标记时触发的事件。

        ///< / summary>

      公共事件ScriptableTimelineMarkerRoutedEventHandler MarkerReached;


        ///< summary>

        ///寻找给定时间。

        ///< / summary>

        ///< param name =" seconds">寻求的时间。< / param>

        [ScriptableMember]

        public virtual void SeekToTime(double seconds) 


在我的博客中开始标记custimized模板有一些提示:


http://blogs.msdn.com/b/randyoakley/archive/2010/06/21/making-a-simple-appearance-change-to-an-expression-encoder-4-模板使用表达 - 共混 - 4.aspx


I have 3 video segments and want the middle one to loop until commanded to continue to the third. In EE, I created a marker at the beginning and the end of the video I want to loop. How do I tell S/L to play the video from the start of the first segment, loop from Marker A to Marker B in the second segment until instructed to continue to the third segment? Thanks

解决方案

You'll either need a customized template or a standard template with some custom JavaScript code

Here are some aspects of the MediaPlayer that may be of interest for the scenerio you describe

        /// <summary>
        /// Event which fires when a marker is reached.
        /// </summary>
       public event ScriptableTimelineMarkerRoutedEventHandler MarkerReached;

        /// <summary>
        /// Seeks to the given time.
        /// </summary>
        /// <param name="seconds">Time to seek to.</param>
        [ScriptableMember]
        public virtual void SeekToTime(double seconds) 

There are some tips for getting started on marking a custimized template in my blog:

http://blogs.msdn.com/b/randyoakley/archive/2010/06/21/making-a-simple-appearance-change-to-an-expression-encoder-4-template-using-expression-blend-4.aspx


这篇关于循环视频从标记A到标记B.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆