Take a look at PHx. Ditto internally supports it so you don’t even need to install it if you only plan on using it inside of your Ditto calls.
Thanks. That worked perfectly.
I added a line in my ditto template chunk that looks like this:
[+phx:input=`[+tvTrackVideo+]`:gt=`0`:then=`<a href="[~[+id+]~]">Watch Video</a>`+]