Displaying video or audio links as a player using the Custom Content field
Imagine you have a field in your form where people share a Vimeo or YouTube link and you'd like to display those links as a Video player instead of the link to the video.
This is possible using the Custom Content field.
1. Add the merge tag to the content's field.
2. Add a filter to the Custom Content field content
To transform the video link into a video player you'll need to pass the content through the the_content WordPress hook. This will make sure the link gets converted properly. Here is a list of embed services that work natively with WordPress.
Paste the following code into your theme's functions.php file to do so ( see how):