Skip to content

Commit aef6a95

Browse files
committed
Merge pull request #10 from oscarmcm/DME-4
Fix error with vimeo iframe
2 parents d361ac5 + 3574153 commit aef6a95

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

magicembed/providers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(self, url, size=(640, 480)):
4848
self.api_url = 'http://vimeo.com/api/v2/video/%s.json' % self.video_id
4949

5050
def render_video(self):
51-
html = '''<iframe src="http://player.vimeo.com/video/%s" width="%d" height="%d" frameborder="0"></iframe><p><a href="http://vimeo.com/%s">Das Pop: The Game</a> from <a href="http://vimeo.com/bigactive">Big Active</a> on <a href="http://vimeo.com">Vimeo</a>.</p>''' # noqa
51+
html = '''<iframe title="Vimeo video player" width="%d" height="%d" src="http://player.vimeo.com/video/%s" frameborder="0" allowfullscreen></iframe>''' # noqa
5252
return html % (self.video_id, self.size[0],
5353
self.size[1], self.video_id)
5454

0 commit comments

Comments
 (0)