Well but it should be possible. Here's how it could be done

def vimeo(code, width=400, height=250):
    """
    ## Embeds a vimeo video (by code)
    - ``code`` is the code of the video
    - ``width`` is the width you want the video to have
    - ``height`` is the height you want the video to have
    """
    return XML("""<iframe src="http://player.vimeo.com/video/%(code)s" 
width="%(width)s" height="%(height)s" frameborder="0" webkitAllowFullScreen 
mozallowfullscreen allowFullScreen></iframe>""" % dict(code=code, 
width=width, height=height))

Quinta-feira, 20 de Setembro de 2012 14:31:31 UTC+1, Massimo Di Pierro 
escreveu:
>
> You simply cut and paste a link to the video in the text as below:
>
> http://vimeo.com/8952354
>
> You cannot choose width and height. Vimeo choses that for you.
>
> On Thursday, 20 September 2012 07:46:43 UTC-5, mweissen wrote:
>>
>> I want to embedd a vimeo video in a auth.wiki page.
>>
>> In the plugin_wiki I had to write for example
>>
>> *``*
>> *name: vimeo*
>> *code: 8952354 *
>> *width: 533*
>> *height: 400*
>> *``:widget*
>>
>> How can I do the same in auth.wiki?
>>
>> Regards, Martin
>>
>>

-- 



Reply via email to