but I would like to insert the video if the end-user has specified a YouTube video id. Right now I have just tried with a variable, but it doesn't seem to work.. in the output the variable doesn't return any output.. I will later create a property on the doc type to enter the id, but this should also work.
When you set the variable like that, the processor is actually looking for an <tEdPJaq6t9s> element :-) - wrap some quotes around it to supply it as a string:
Insert YouTube video with ID
Hi..
I am trying to insert a YouTube from xslt.. it shows the video with this code:
but I would like to insert the video if the end-user has specified a YouTube video id. Right now I have just tried with a variable, but it doesn't seem to work.. in the output the variable doesn't return any output.. I will later create a property on the doc type to enter the id, but this should also work.
Isn't the variable inserted correct into the url string?
Bjarne
Hi Bjarne,
When you set the variable like that, the processor is actually looking for an <tEdPJaq6t9s> element :-) - wrap some quotes around it to supply it as a string:
/Chriztian
Thanks Chriztian :)
That was a quick fix..
It works just fine now inside the Video tab here: http://sub.ak-security.dk/da/shop/lygter/led-lenser-p7.aspx
Bjarne
is working on a reply...