Hello!
I am using Slider Revolution. hidden link
It works perfectly with the shortcodes from Wp-Types. But I have only a problem, and I ask you for your help.
I have a field in my custom post who is: id-youtube (I put there the ID of youtube video)
In revolution slider I try to add a new layer of Video. I select "Youtube" and after that I use the shortcode: [types field="id-youtube"][/types].
I do the same with other fields of text or image. And works great!
But with the video I get error! Nothing happen. The shorcodes not works.
I try too with an HTML layer.
I get first the Youtube frame:
<iframe width="560" height="315" src="<em><u>hidden link</u></em>" frameborder="0" allowfullscreen></iframe>
I add in th HTML layer the iframe replacing the code of the "youtube ID" with the youtube-id field:
<div><iframe width="560" height="315" src="<em><u>hidden link</u></em> field="id-youtube"][/types]?rel=0&showinfo=0" frameborder="0" allowfullscreen></iframe></div>
But I get error.
The only way that I has not error is creating a field for the entire iframe of Youtube, but in this way, I have to copy the code with widht and heigh on each video, and i want only save in my field the youtube id or link in order if i want to change something, I can do it for all my post at once.
This is the way without error:
Field:
youtube-id: <iframe width="560" height="315" src="<em><u>hidden link</u></em>" frameborder="0" allowfullscreen></iframe>
Html layer:
<div>[types field="youtube-id"][/types]</div>
So, I want only have a field for the Youtube video ID or link.
Display this if I can in a VIDEO layer (because I have more options to configurate), if not, in a HTML Layer calling the field with the Youtube ID or link.
I hope you can help me, is very important! Thanks in advence.
Best regards.
Sebastian.