trying to achieve
Currently trying to create a Content Container Template where a user can input a YouTube or Vimeo URL in to a Link Asset.
This is then used in a Related Asset metadata field in my CCT. (i.e. “this is the youtube video I want to use”)
On the Paint Layout of the page it then uses some conditional keywords for some basic URL manipulation to then embed the video URL in an iframe.
We’re at the stage of testing this out - ideally we’re getting users to stick to Youtube and Vimeo through some governance models (so users posting in other media players shouldn’t be an issue or they’ll be forewarned at least).
Because we also want the user to be able to insert an Image asset, we’d like to stick to a Related Asset metadata field (I realise this could probably be solved with a raw text field).
I can not for the life of me pull that Link Asset’s URL out in the Paint Layout of the CCT.
evaluates to the asset id
evaluates as “Link”
evaluates to the Link’s name
evaluates to the Link Assets URL. NOT the link value stored in the Link Asset
Very perplexing and frustrating, especially as I could get a lot of other values from it