Is a plugin that should allow for media file handling (meaning flv opens in swfplayer, wmv in custom media player, pdf in iframe)...it can be found here...what would be the simplest way to implement it as a .net usercontrol macro?
I'd like to do it, and am currently looking at the source code of UmbracoVideoModule control...but the paradigm seems to differ...as I gather from my really modest jquery understanding the plugin itself is dependent on the filetype...umbracoType value of media files in umbraco itself, right?
So, would one write an XSLT that would output what the plugin does or how would you do it? Best practice in general question. How do you use/embed jquery plugins please? TIA
Since it's jquery based you can probably accomplish what your try to do with an xslt macro versus a .net usercontrol (unless that's your preference). I would create an xslt macro and create and pass the "file name" and display parameters (height/width) to the macro.
Check out dan's package for inserting flash using the swf object. Basically the same principals.
jQuery Media plugin
Is a plugin that should allow for media file handling (meaning flv opens in swfplayer, wmv in custom media player, pdf in iframe)...it can be found here...what would be the simplest way to implement it as a .net usercontrol macro?
I'd like to do it, and am currently looking at the source code of UmbracoVideoModule control...but the paradigm seems to differ...as I gather from my really modest jquery understanding the plugin itself is dependent on the filetype...umbracoType value of media files in umbraco itself, right?
So, would one write an XSLT that would output what the plugin does or how would you do it? Best practice in general question. How do you use/embed jquery plugins please? TIA
stc,
Since it's jquery based you can probably accomplish what your try to do with an xslt macro versus a .net usercontrol (unless that's your preference). I would create an xslt macro and create and pass the "file name" and display parameters (height/width) to the macro.
Check out dan's package for inserting flash using the swf object. Basically the same principals.
http://our.umbraco.org/projects/insert-flash-file
The "fileType" issue can be handled with xsl:if test conditions in the xslt.
-Chris
is working on a reply...