##// END OF EJS Templates
Backport PR #4903: use https for all embeds...
MinRK -
Show More
@@ -44,7 +44,7 b' class YouTubeVideo(IFrame):'
44 44
45 45 e.g. to embed the video on this page:
46 46
47 http://www.youtube.com/watch?v=foo
47 https://www.youtube.com/watch?v=foo
48 48
49 49 you would do:
50 50
@@ -64,7 +64,7 b' class YouTubeVideo(IFrame):'
64 64 """
65 65
66 66 def __init__(self, id, width=400, height=300, **kwargs):
67 src = "http://www.youtube.com/embed/{0}".format(id)
67 src = "https://www.youtube.com/embed/{0}".format(id)
68 68 super(YouTubeVideo, self).__init__(src, width, height, **kwargs)
69 69
70 70 class VimeoVideo(IFrame):
@@ -73,7 +73,7 b' class VimeoVideo(IFrame):'
73 73 """
74 74
75 75 def __init__(self, id, width=400, height=300, **kwargs):
76 src="http://player.vimeo.com/video/{0}".format(id)
76 src="https://player.vimeo.com/video/{0}".format(id)
77 77 super(VimeoVideo, self).__init__(src, width, height, **kwargs)
78 78
79 79 class ScribdDocument(IFrame):
@@ -89,7 +89,7 b' class ScribdDocument(IFrame):'
89 89 """
90 90
91 91 def __init__(self, id, width=400, height=300, **kwargs):
92 src="http://www.scribd.com/embeds/{0}/content".format(id)
92 src="https://www.scribd.com/embeds/{0}/content".format(id)
93 93 super(ScribdDocument, self).__init__(src, width, height, **kwargs)
94 94
95 95 class FileLink(object):
General Comments 0
You need to be logged in to leave comments. Login now