AnsweredAssumed Answered

Need to play an embedded quicktime in a field

Question asked by shelleywenk on Jan 5, 2011
Latest reply on Jan 7, 2011 by philmodjunk

Title

Need to play an embedded quicktime in a field

Post

I'm creating a video story bank, and need to store and play quicktime files in my database. (Simply referencing files won't work for this particular situation.)

I've imported the quicktime file as a file (not a quicktime) into a container field.

Now I'm trying to use a script to export that file into a temporary folder and then insert that exported quicktime into another global container field so I can play the movie in that field.

Here's the script I wrote:

Insert File [HOPE Storybank::Photo or Video Clip]

Set Variable [$myOutputFile; Value:"file:" & Get (TemporaryPath) & "movieTemp.mov"]

Export Field Contents [HOPE Storybank::Photo or Video Clip; "$myOutputFile"]

Set Variable [$myInputField; Value:"movie:" & Get (TemporaryPath) & "movieTemp.mov"]

Go to Field [HOPE Storybank::MoviePlayer]

Insert QuickTime ["$myInputField"]

I'm getting this message:

“movieTemp.mov” could not be created on this disk.  Use a different name, make more room on the disk, unlock it or use a different disk.

And then this error:

The previous script step, “Insert QuickTime”, could not be completed because of an error. 

(Which is Error 100 - File not found)

I assume the error is because movieTemp.mov is not being created.

What am I doing wrong?!

Outcomes