How to use FLVPlayback and SMIL play two or more videos
flvplayback can read smil files contain 1 video.
eg.
<smil>
<head></head>
<body>
<video src="video1.flv"/>
</body>
</smil>
but want play 2 or more videos.
eg.
<smil>
<head></head>
<body>
<seq>
<video src="video1.flv"/>
<video src="video2.flv"/>
</seq>
</body>
</smil>
but doesn't work.
this error info:
videoerror: 1005: invalid xml: url: "smil.smil" tag seq not supported in body tag.
@ fl.video::smilmanager/http://www.adobe.com/2007/flash/flvplayback/internal::parsebody()
@ fl.video::smilmanager/http://www.adobe.com/2007/flash/flvplayback/internal::xmlloadeventhandler()
@ flash.events::eventdispatcher/dispatcheventfunction()
@ flash.events::eventdispatcher/dispatchevent()
@ flash.net::urlloader/oncomplete()
if use <switch> instead of <seq>,it play first video , stop.
i using flash cs6 on win7(64bit).
how write correct smil file contains 2 or more videos?
More discussions in ActionScript 3
adobe
Comments
Post a Comment