javascript videoplane question

tsiwt's icon

could anyone be nice enough to post a javascript that loads a movie to a videoplane with transform_reset 2
so I could load the video in a jit.window and the video covers the whole screen...

I am very new at javascripting... and would like to pass this initial step in order to move forward.

please help.

thanks

Christopher Dobrian's icon

I don't think JavaScript provides you any capabilities for that task that you don't already have with standard Jitter objects -- jit.qt.movie, jit.gl.videoplane, jit.gl.render, and jit.window. The jit.gl.videoplane documentation shows how pretty clearly.

tsiwt's icon

yeah, you are right... I guess I was overwhelmed by javascript and thought everything had to be done inside the script , I forgot to try it the obvious easy way first.

thanks.