Do you know how to play video after success tracking image in Spark Ar. I see it only support audio with Audio Playback Controller. Now , i want to play video.(i don't want to use animationSequence to make sprite sheet animation (simulate video))
How can i do it ?
Thanks
Only through Animation Sequence. This is the only and universal way. The engine does not support any video formats.
I have an .swf that plays a small flash video on a website, and I can't for the life of me figure out how to get little controls similar to this virtual spokesperson on this website.
http://washerwizards.com/
I'm not flash savvy, but I keep reading about skin files etc. I'm unsure of how to make them work though.
This picture is shown when one of my friends tries to play the video in my flash program. I use standard Flash Video things to play it (a media.Video class). I don't have a slighets idea what could cause such a peculiar bug???
Here is the image:
I'm creating a mini game. It has music background and gun sound. But I can not play them at the same time.
How can I do it ???
You can't - as MSDN says:
When a MediaElement control plays audio or video content, any background sounds or media already playing are halted. The app launches the playback experience when the user taps the control. Only one MediaElement control can operate at a time.
Instead you can try to use SoundEffect from XNA to play your gun sound.
In Flash, AS3, I am using NetConnection to connect to a RTMP server, then I use NetStream to play a video+audio stream.
I attach the stream (attachNetStream) to a flash.media.Video instance that is added to stage (double checked that it is ON the stage) and play it, but all I get is the sound of the stream that's being played - no video is displayed.
Note that even though I cannot see the video, when I listen to the onMetaData of the stream I can get plenty of information about the video such as width, height, FPS (changes during playback as if a video is shown), number of decoded frames.
Does anybody have an idea how can I make the video work too?
Instead of using "raw" NetConnection and NetStream and attach it to a flash.media.Video, I'd recommend using some wrapper such as Pyro Player. Its basically a video API and I've used it many times for RTMP video and it works like a charm (I've always found the Video component from Adobe very buggy, specially when displaying video from a RTMP server). Give it a try!
Thank you guys! but I found out the answer:
Apparently Flash's (CS3) built-in Video class does not support H.264 streams. I tried to compile the exact same code in Flex 3.5 and everything worked!
There is a possibility that CS4 also supports H.264 streams. I did not try.
JWPlayer is great, I did not try Pyro.
Cheers.