Others

Play MP4 Videos from File Paths in an Access Form

John WilsonJohn Wilson Nov 13, 2026 869 views

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.

Play MP4 Videos from File Paths in an Access Form
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 start

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.

Solution 1Recommended

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.

1
Store media files outside the database

Keep MP4 files in a stable folder and save only their full file paths in the Access table.

2
Add the Windows Media Player ActiveX control

Open the form in Design View, choose the ActiveX Controls button, select Windows Media Player, and place it on the form.

3
Assign the selected file path to the player

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)).

4
Keep images separate

Add a separate Image control or toggle control visibility when displaying photos so image controls do not conflict with the media player.

Play MP4 Files from Stored Paths with the Windows Media Player ActiveX Control in Access
Why external paths work better: Storing only paths avoids large database files and lets you replace the MP4 without changing the Access record.
Free Microsoft Office alternative

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.

Free, lightweight alternative for everyday Office documents, spreadsheets, and presentations.Opens and edits Microsoft Word, Excel, and PowerPoint file formats without conversion.Familiar ribbon-style interface reduces the learning curve when moving from Microsoft Office.Lets you keep your existing Access form workflow for database media while using WPS for other Office tasks.
microsoft office alternative - wps office

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.