You can also add parameters for height/width/etc if you like and use them the same way. ie height="{$heightParam}"
Also, if you need to enforce the </embed> tag to show instead of having the tag self-close, you can change the output method from "xml" to html" on the <xsl:output> tag.
Display Quicktime using mediaCurrent in Macro
What XSLT code do I need, to get my Quicktime video (picked using mediaCurrent in my macro), to display correctly?
The alias is "Video" and I've uploaded the .mov as a file in my Media section.
I'm using Umbraco version 4.3.
Here's the code I use to display the video:
Here's my XSLT, what do I need to get the value of the video into the necessary "value" parameters?:
Hi,
Are you using 4.0.3?
First you'll need to add the parameter to your XSLT, above the <xsl:template> line:
Then you should be able to access the file like so:
You can also add parameters for height/width/etc if you like and use them the same way. ie height="{$heightParam}"
Also, if you need to enforce the </embed> tag to show instead of having the tag self-close, you can change the output method from "xml" to html" on the <xsl:output> tag.
Hope this helps,
Tom
Thanks Tom!
That is exactly what I needed. It's working perfectly now.
Here's my final XSLT:
is working on a reply...