Embed code causing an issue with Toolset Views
-
Hi
I’m using Toolset’s Views plugin to show post sliders and I’d like to have them clickable with a lightbox video player. I’ve tried the embed code like this:
[embedyt]https://www.youtube.com/watch?v=[types field='youtube-video-id' output='raw'][/types][/embedyt]
Where the post’s Youtube ID field is inserted into the embed shortcode, this bit [types field=’youtube-video-id’ output=’raw’][/types].
But as it turns out the way the embedyt short code works with the two separate parts, the start [embedyt] and the end [/embedyt] it’s causing an issue with the custom field not being passed correctly in the post slider/view. I think it’s probably the ToolSet shortcode ending that is interfering with the embedyt shortcode.
Please can I check if you have an alternative embed code that does it all in one go. For example:
[embedyt video="https://www.youtube.com/watch?v=BwW1uRxU_g8"]
The Toolset tech support have said it would work fine this way.
Here is the original support ticket: https://toolset.com/forums/topic/custom-field-to-populate-youtube-embed-code-not-working/
- The topic ‘Embed code causing an issue with Toolset Views’ is closed to new replies.