changing http:// to // on intro video urls to prevent browsers from blocking video embeds

This commit is contained in:
Giulio Gratta
2013-08-09 09:24:17 -07:00
parent 6b16ef0adf
commit 464141c72a
3 changed files with 3 additions and 3 deletions

View File

@@ -173,7 +173,7 @@ class CourseDetails(object):
# the right thing
result = None
if video_key:
result = '<iframe width="560" height="315" src="http://www.youtube.com/embed/' + \
result = '<iframe width="560" height="315" src="//www.youtube.com/embed/' + \
video_key + '?autoplay=1&rel=0" frameborder="0" allowfullscreen=""></iframe>'
return result