Object to display vedio?

 

Does anyone know If there a way to create an object that can display a video clip?  Any help would be appreciated.

Thanks!

rcooley

 

5,010 views 3 replies
Reply #1 Top
Good question.  And the answer might be yes, depending on the source.
The way I usually do stuff like this is to create an object that uses the browser activeX control and have that load the source file for the video.

I created a simple widget that palyed a SWF video (bloodmobile.swf) using the code below:


 'Called when the script is executed
Sub Object_OnScriptEnter
Set objFSO = CreateObject("Scripting.FileSystemObject")
If objFSO.FileExists(workFolder & "bloodmobile.swf") = False Then
objFSO.CopyFile Object.Directory & "bloodmobile.swf", workFolder & "virtual-bubblewrap-distv1.1.swf"
End If
Control.Navigate2 Object.Directory & "bloodmobile.swf"
End Sub

'Called when the script is terminated
Sub Object_OnScriptExit

End Sub


I had to embed the swf file using the Summary tab in the DX object by clicking the Custom File button.
Reply #2 Top

Thanks for the info, but how would I do this for a local video file like MyVedio.wmf?

Thanks
rcooley
Reply #3 Top
Try the link here