play video on StageVideo with starling - actionscript-3

i work on as3 mobile project , iam using starling as Framework , how i can added a video on starling using stage video , not video player .
stage video option is a lot better for performance .
any one to advice me.

answer :
add your stage video class inside starling display object as overlay :
Starling.current.nativeOverlay.addChild(stageVideoPlayer)

Hi sameer I couldn't understand you need to add a device's camera recording a video or need to add any video file on stage using starling? Give detailed explanation.

Related

Play video after tracking image success with Spark Ar

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.

How to create audio deformation effects in actionsctipt 3?

I use NetConnection, NetStream and Video classes to show video in actionscript 3 (AIR SDK 31.0.0.96) and I can play/stop/pause video, but I don't know how can I add any audio effects (speed changing, distortion, waves or something else).
In my game user has to guess video by deformated sound and for some reasons deformated effect should to be applied in runtime.
I hope, that you will can advice me some library for process audio track in runtime or show me simple code example to access to audio from actionscript.
Thank you.

How to render movie in phaser Canvas background?

This seems to work:
http://html5doctor.com/demos/video-canvas-magic/demo1.html
But how can I put the movie into phaser context to play it in the background?
Phaser supports rendering videos. You can find an example on the phaser examples site.
Create a pixi.textures.VideoTexture and apply the texture to a sprite object.

Background Audio Agent and Media Player in Windows phone 8

I stuck in a big problem I am playing audio in background using BackgroundAudioPlayer working fine while I am playing another audio file using MediaElement on foreground the background sound is stopped.I want to play both sound simultaneously background and foreground please let me how it will be done.
MediaElement and BackgroundAudioPlayer are exclusive - you can only use one of these at a time.
You are able to play additional sounds using the XNA SoundEffect APIs however. For example of these APIs see this blog entry.

How to block Actionscript 3.0 embedded YouTube videos ads?

I follow this steps and manage to play videos on my flash movie, http://code.google.com/apis/youtube/flash_api_reference.html
Now I wonder if is possible to block the ads? any help will be much appreciated
Cheers
try to overlay them with some divs
decompile player swf and find ad id, and to remove it outside from swfloader