Bev
-
7/26/2012 9:57:13 AM
Embedding a YouTube video within a Transformation
Afternoon,
I'm hoping someone might have done this already and know how this can be implemented.
I've created a new document type to hold details of a YouTube video (URL, Video Name). I also have another document type that holds details of a musical act, so a musical act may have one or more YouTube videos underneath it.
What I want to do is on the artist's page, have a repeater which will show all the YouTube video's each in their own individual embedded video player.
But I'm having issues creating the transformation so that it will create the embeded video player with the YouTube URL. I know I can do it by using the ID of the YouTube video, but I am concerned that the end user of the site will not always grab the ID correctly and wondered if there was a way of doing it with using the full URL (which is just copied and pasted from the YouTube website)??
Thanks in advance for any info and tips.
Bev
|