00001 Dependencies = []
00002
00003 def execute(macro, args):
00004 key = args.split()[0]
00005 if key.startswith('http://www.vimeo.com/'):
00006 key = key[len('http://www.vimeo.com/'):]
00007 return macro.formatter.rawHTML('<center><iframe src="http://player.vimeo.com/video/%(key)s" width="400" height="300" frameborder="0"></iframe></center>'%locals())
00008