Skip to content
This repository has been archived by the owner on Jul 8, 2018. It is now read-only.

Videos are only available in https #1

Merged
merged 1 commit into from Mar 15, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion sphinxcontrib/youtube/youtube.py
Expand Up @@ -34,7 +34,7 @@ def get_video_id(url):
def visit(self, node):

video_id = node.video_id
url = u'//www.youtube.com/embed/{0}'.format(video_id)
url = u'https://www.youtube.com/embed/{0}'.format(video_id)
tag = u'''<iframe width="640" height="360" src="{0}" frameborder="0" allowfullscreen="1">&nbsp;</iframe>'''.format(url)

self.body.append(tag)
Expand Down