This may be to complicated but it does apply to the project I am currently working on and I am wondering if anyone has came across how this could be done.

Basically I want a Object to play a video within the game.

For instance:

A entity that is in the shape of a tv is in the game. On the screen of the tv I want it to play a movie file(such as a avi). Maybe loop as well.

I am wondering if and how this could be done. The next question would be could it be possible for that tv screen to actually connect to streaming content. Such as the tv connect to a internet tv stream.

Any help would be greatly appreciated