problem tv video

Hi,
can I ask how do you get a video clip in texutre/material in a first place? Could not figure it out. Nor what formats are supported. I tried adding an avi to texture sample but that doesn’t work.