Hi Kotikoti,
Do you want to import movies and save them, or do you only want to display them during the current session and possibly import them again next time?
You should keep in mind that media can
always be copied without much trouble. It is extremely easy to plug a monitor into a recorder and record whatever is to see and hear. There is also software that can do this. In fact, I made such
software, even though it isn't intended for copying copyrighted media. So, securing your media probably makes little sense. If one really wants to copy it, one will.
You'd better give the user a good reason to pay for the media, if that's why you want to secure it.
That said, there are several ways to do what you want. If the movies are not too large, you can simply create a player object and set the filename to the url to the movie on your server. It might take a little while to load, but usually you can start playing immediately.
Some people reported to encounter problems when setting the filename of a movie to a url. As an alternative, you can create a
SMIL file, which refers to the movie on your server. Create a player object in your stack and set the filename of the player to the file path to the SMIL file.
A more elegant solution would be to use a streaming server. This way, people will at least never have the complete movie on their own hard disk or in memory. Again, there are two ways to achieve this. Once you have set up a streaming server, you can approach the server either by its own url or by directing the player object to a local file that refers to your server. I would recommend using a local file in this case. This seems to be a little more reliable.
Finally, you could also use the revBrowser external. Create a simple web page and set the htmlText of the browser to your html code. You can embed a movie, which can directly refer to the movie file on your server, or to a streaming server, or to a local file that in turn refers to your streaming server.
Now regarding the video location, would that be the url to your server? Just provide the user with a window containing a list of movies. You could create a custom property that combines the movie names, which the user can click on, with the url's.
I guess a lot more could be said on this topic. I'll leave that to Bernd for now ;-)
Best,
Mark