循环视频从标记A到标记B. [英] Loop Video from Marker A to Marker 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模板有一些提示:
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:
这篇关于循环视频从标记A到标记B.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!