Commit 2563fbee authored by Benjamin Graillot's avatar Benjamin Graillot

Fix de la macro Youtube

parent 883e3479
...@@ -16,7 +16,7 @@ def execute(macro, text): ...@@ -16,7 +16,7 @@ def execute(macro, text):
text = text.split('v=')[1] text = text.split('v=')[1]
except: except:
return u"URL non valide..." return u"URL non valide..."
url = 'http://www.youtube.com/v/%s' % text url = 'https://www.youtube.com/v/%s' % text
html = u''' html = u'''
<object width="425" height="350"> <object width="425" height="350">
<param name="movie" value="%(youtubelink)s"></param> <param name="movie" value="%(youtubelink)s"></param>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment