Media Fields for Contact Form 7
Media Fields for Contact Form 7
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.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.