I'm using the new sightly language in AEM6 to render my components using
templates, in my component there is a video that uses the JWPlayer
plugin which needs the following code to initalise the video:
jwplayer('playerpwSIOjcRZrCa').setup({ file:
'//www.youtube.com/watch?v=123456', title: 'Video title', width: '100%',
aspectratio: '16:9' }); But I want to make the Youtube variable
dynamic so the user can change the id within the author so have got the
following template passing in the videoPath (youtube id): Video Id: ${videoPath}
jwplayer('playerpwSIOjcRZrCa').setup({ file:
'//www.youtube.com/watch?v=' ${videoPath}, title: 'Video title', width:
'100%', aspectratio: '16:9' }); The problem I'm
having is the ${videoPath} in the tags is not rendering the id where as
the one at the...