Hello,
I am trying to have a user fill in a form where he provides a youtube URL and then display that video on the CPT single view (content template).
I am not able to do it, here is what I have found out:
The toolset video block has a dynamic capability but it seems like it only recognizes "video" field. The "video" field on the form prompts the user to upload a video from his/her computer but does not allow the user to input an URL (like youtube for example).
Alternatively, if I use an "embedded media" type field on the entry form (allowing to input a video URL), that field will not be listed when setting up the toolset video block.
Am I missing something?
Thanks for your help
Hi,
Thank you for contacting us and I'd be happy to assist.
Your observation is correct and the Toolset's video type field can only be used for videos directly uploaded by the visitors. And similarly, the Toolset's "Video" block with dynamic source only supports this "Video" type field.
Since you need YouTube links from the users, you can use the "embedded media" type field to get the URL from the users and to show it on the front-end, you can use "Fields and Text" block and insert this field's shortcode, which will automatically render it as a video embed.
I hope this helps and please let me know if you need any further assistance around this.
regards,
Waqar
Hello Waqar, I have followed your indications and it works now. Thank you for your help.