Media Fields for Contact Form 7 – Video, Audio, 3D, Gallery and PDF Fields
Media Fields for Contact Form 7 – Video, Audio, 3D, Gallery and PDF Fields
Description
Watch the 2-minute introduction:
Media Fields for Contact Form 7 adds media field types to Contact Form 7 that the core plugin does not ship: – the name comes first, then options, and the quoted media URL(s) always come last (this is Contact Form 7’s standard form-tag order). The tag generator takes care of this for you.
Contact Form 7 does not allow spaces or commas inside form-tag options. Use _ for spaces (e.g. artist:Jane_Doe) and | to separate list items (e.g. speed-options:0.5|1|2). Media URLs go inside quotes and may contain anything except quotes.
The browser reads the PDF directly, so it must be on the same domain as the page or served with cross-origin (CORS) headers. Uploading the PDF to your own Media Library always works.
WebVTT caption files must be served from the same domain as the page, or from a server that sends CORS headers – in that case add the crossorigin option.
Yes. Enable “Load player assets on every front-end page” under Contact Video Addon; the script watches the page and initialises players that are added later.
Reviews
Changelog
1.2.0
- Added optional usage tracking through Freemius. You are asked once after activation, nothing is sent unless you agree, and you can opt in or out later from the Plugins screen.
- Uninstall cleanup now runs through the Freemius uninstall hook. Same behaviour, same opt-in setting.
1.1.3
- Fixed the tutorial videos failing with “Error 153” on sites that send a strict Referrer-Policy. The embed now tells YouTube which site it is on, the way YouTube’s own embed code does.
1.1.2
- The two tutorial videos now sit side by side in one row on the settings screen, as equal cards.
- Added a Hide videos / Show videos control. The choice is remembered per user, so the panel stays closed after a reload.
1.1.1
- Added the step-by-step getting started tutorial video to the settings screen (featured first) and to this readme; the 2-minute introduction stays available below it.
- Fixed stale references to the old settings menu name.
1.1.0
- Added an introduction video to the settings screen (click to play — nothing is requested from YouTube until then) and a one-time redirect to that screen after activation.
- New
field: responsive image gallery with grid, masonry, justified and carousel layouts, captions and a built-in lightbox. - New
[pdf_flipbook]field: PDF viewer with page-turn or scroll mode, zoom, fullscreen and optional download, powered by PDF.js and StPageFlip. - Both field types have their own tag generator and settings panel with defaults.
1.0.0
- Initial release: , and [3d_models] form-tags with tag generators and a settings screen.