I am working on a project that is about making a video player with built in libraries.
What I want to do is create a custom video player in Flash CS5, Python (Using Phonon) or C# which can play any video file (independent of the extension). The idea is that when I run my program, the video files that are embedded in the complied .exe will be played.
Is there a way I can include the video file with the compiled .exe?
EDIT: the video files will be around 100 MB in size.
Let me see if I understood your question correctly. I am assuming you want to embed a video file into a video player application that you are creating. The video can be on any type (.avi, .mp4, .flv) and the application will be an executable (.exe).
If this is the case then what you need to do is, using Visual Studio, add your video file as a resource in your project, rebuild the project and access the resource from your code.
For example, if you have added
MyVideo.avito your project, after building the project you can access it asMyNamespace.MyVideo.avi.Here are a couple of SO posts that provide more concrete examples of embedded resources within a project:
How To Store Files In An EXE
How to embed a text file in a .NET assembly?