0

我使用这个标签:

<mx:VideoDisplay id="myVid" bottom="0" width="100%" height="100%" live="true" autoPlay="true" source="http://localhost:5080/oflaDemo/{myvideo}"/>

但我唯一得到的是视频的声音,而不是视频本身,有什么想法吗???

提前致谢!

4

1 回答 1

0

解决了这个问题:

<s:VideoPlayer id="myVid" visible="true" width="100%" height="100%"
                       mediaPlayerStateChange="myVid_mediaPlayerStateChangeHandler(event)">
            <s:source>
                <s:DynamicStreamingVideoSource host="{mediaServerUrl}" streamType="recorded">
                    <s:DynamicStreamingVideoItem streamName="../{videoFolder}/{filename}"/>
                </s:DynamicStreamingVideoSource>
            </s:source>
</s:VideoPlayer>
于 2012-04-05T13:58:18.573 回答