Play embedded video file on form using Windows Media Player 9

  • Thread starter Thread starter Ghirardi
  • Start date Start date
G

Ghirardi

I can't seem to find instructions or samples on methods / properties so I
can play a video file (.wma) with the Windows Media Player active x control
that I placed on a form. I can play a file by setting the url property to
a path, but I have embeded the complete video file in an OLE field in a
table.

thanks

ghirard
(e-mail address removed)
 
I doubt it is possible to play the video directly from the Database's OLE
field using the Media player OCX control. The control will probably will
work OK in Access, but was not designed to be "bound" to a datasource as are
native Access controls. You could reconstitute a temp .wma file from the
OLE field and then have the media player play it, but it is probably more
trouble than it is worth.

I would recommend that you consider storing your videos as standard files in
the file system and just store the path/filename in a text field of the
database. This will also solve the database bloat issue you will get when
you start to add additional video material.

Ron W
 
Back
Top