This question about Using an extension: Asked
I wanted to inline pdfs in a page using %media tag. Though it works the size of container picked up is default i.e. 320 x 180
Since I use many other media, cannot change the default setting. Tried overwriting the settings using width and height parameters but doesn't work. I entered
%MEDIA{%ATTACHMENTLIST{ format = "$fileUrl" }%
width = "100%"
height = "100%"
}%
to get the output as
<object data=" [[http://admin-95c67ac0c/foswiki/pub/Sandbox/DPN181/24282006439372568.pdf][http://admin-95c67ac0c/foswiki/pub/Sandbox/DPN181/24282006439372568.pdf]] width = "100%" height = "100%"" height="180" type="" width="320">
Once I remove the height and width tags from above the same syntax gives a plugin in container with the correct attachment inside but of size 320 * 180 (default mediaplugin settings)
Perhaps was a syntax error corrected to
%MEDIA{"%ATTACHMENTLIST{ format = "$fileUrl" }%"
width = "100%"
height = "100%"
}%
Now I am getting correct view with controls in IE 6, View but No controls in Chrome 11.0.696.65, No view or controls in Firefox 4.0.1
--
HarshadDivekar - 17 May 2011