How to render movie in phaser Canvas background? - html

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.

Related

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.

What kind of bug in flash video playback can show this image?

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:

play video on StageVideo with starling

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.

Unity3D Html over 3D flash game

I have 3D game made in Unity3D. After some time have been spent, it works in flash correctly.
Currently i need to find a way to display HTML content over my flash.
wmode=opaque, wmode=transparent have failed, because stage3d, which unity uses to render 3d content, requires wmode=direct.
I have tried other hacks like using iframe, but this works different in all browsers(correct behaviour only under chrome with release flash player)
Now i'm thinking about get screenshot of flash stage from action script, pass this data to javascript, render this on canvas, hide flash, and move custom HTML element over this.
All this looks so sad, am i missing some important information?
if you use flash and want to render the scene in an canvas :).... better use only flash, don't do that :) .. and strange why it doesn't work for you because I often put a div above the flash content and it works.

Fabric.js and <Video>

I want to draw shapes with by using fabric.js on a video element. I am quite new to JavaScrpit, jQuery & fabric.js.
I would be grateful if someone can give me some assistance whether this is possible. Some sample lines would be very helpful.
Drawing on an image (png) has been no issue as fabric.js offers this out of the box. However with video element I am not finding the expected result.
If you want to draw shape on video, You must be define fabric canvas on video.
when you are define of fabric canvas, you put canvas using CSS on video.
Then you are drawing on canvas to fabric.