programatically loading and unloading DVD (file based) playback in director (shockwave)
Posted on 2009-05-07
We're wanting to create a director/shockwave application which is capable of reading information from a database (specifically the information to load a file based DVD) for playback on a locally created TV channel.
We had an application developed using FLV and Flash which played a show (loaded an external FLV into SWF) played the show through and then read the database playlist and loaded the next.
The problem is that converting our media to FLV format in the quality we need is a very long process and we could streamline this by using DVD based playback.
What I need to be able to achieve is have director access the database, determine the show to be loaded and get its length, start a countdown timer on screen till the show's beginning, then once the timer expires, play the show; before the end of the show, reconnect to the database and get the next show and its play time. In between the show, randomly select previews of other shows come up (also pulled from the database).
I'm reasonably sure this is possible (as we've had it working in flash) but I have no idea how to get it functioning using file based DVD media (ie: not on a disc, on the file system) or how to get director to connect to the database.
Code samples or examples would be extremly appreciated.