How can I build a small Video Looping device, which I can upload/delete files from?

I want build a device which I can basically either insert a memory card or upload video files on and it then loops these files to a video output. I'm not really sure how to start. Anyone got any ideas? I basically want to have an old TV I own just loop video all day and I rather not buy a DVD player to do it.