Play MP4 Videos from File Paths in an Access Form
Question details
The user needs to play MP4 videos in a Microsoft Access form by referencing file paths stored in a table, without embedding the video files in the database, while keeping the option to display images or other media.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- Building or maintaining an Access form that displays media from external file paths instead of storing files inside the database.
- Observed behavior
- The form should play the selected MP4 through Windows Media Player ActiveX and display photos separately using an image control or visible control switch.
Before you begin, place the MP4 files in a stable external folder and make sure the Access table stores full file paths, not OLE objects. Also make sure the Windows Media Player ActiveX control is available in Access Design View.
Play MP4 Files from Stored Paths with the Windows Media Player ActiveX Control in Access
Use this when you want a form to play external MP4 videos without embedding them in the database.
Store only file paths in the Access table to keep the database smaller and allow media files to be replaced without re-importing them. The Windows Media Player ActiveX control can play supported MP4 files when its URL property is set to the selected path.
Keep MP4 files in a stable folder and save only their full file paths in the Access table.
Open the form in Design View, choose the ActiveX Controls button, select Windows Media Player, and place it on the form.
In the combo box After Update event, add VBA that references the media player object and sets its URL property to the selected path, for example Set wP = Me.md_plyr_vid_frame.Object followed by wP.URL = HTML_Decode(cbo_select_play_vid.Column(2)).
Add a separate Image control or toggle control visibility when displaying photos so image controls do not conflict with the media player.

Test the Media Player Control with a Fixed MP4 Path First
Use this when playback fails from a bound control and you need to verify that the ActiveX player can play the MP4 at all.
Use WPS Office as a Free Alternative for Everyday Microsoft Office Tasks
WPS Office does not create Microsoft Access forms or host Access ActiveX controls, but it is a free, lightweight Office alternative that opens Microsoft Word, Excel, and PowerPoint files with a familiar interface. Keep Access for database media forms and use WPS for documents, spreadsheets, and presentations.

Frequently Asked Questions
Can I store MP4 videos directly in an Access database?
You can, but it is not recommended. Store video files outside the database and save only their file paths in the Access table to avoid large database files and playback issues.
Which control plays MP4 videos in an Access form?
Add the Windows Media Player ActiveX control to the form in Design View, then set its URL property to the full file path of the selected MP4.
How do I show images and videos in the same Access form?
Use a separate Image control for photos, or toggle visibility between the media player and image control depending on the selected record type.
Why does the MP4 not play even though the file path is correct?
Test the MP4 outside Access to confirm it is not corrupted, make sure the file uses a format supported by Windows Media Player, and verify the URL property is assigned in the combo box After Update event.
Can WPS Office play MP4 files in Microsoft Access forms?
No, WPS Office does not include Microsoft Access or its ActiveX form environment. Use Microsoft Access for this database form and apply the Windows Media Player ActiveX method above.




