Image embedding (was: Re: wikimatrix.org)
renggli at iam.unibe.ch
Tue Apr 3 13:47:19 MEST 2007
> When talking about "size", we mean dimension, not filesize or
> playlenght, right?
Exactly, see my second mail.
> All I'm really asking for is embedding internal and external video's,
> flash, whatever, ... the same way (and with the same code). Right now
> internal uses <object>, external uses <iframe>. That is very
> inconsistent IMHO.
Indeed, this was just a quick hack. Quite ugly all in all, especially
the guessing of the file-type depending on the extension. A head
request that is cached would be much cooler.
> I have two proposals:
> 1. extend the link syntax:
I tried to avoid that, most other wikis do that. Probably there is no
other way around this.
> 2. Extend PRFile to include more meta information depending on the
> type (eg. a video would have width and height, a Java Applet would
> have parameters, ...
And where do you get this information from?
> Then we make a PRExternalFile that instead of file upload has an
> external url.
I am lost, could you rephrase proposition 2?
More information about the smallwiki