Remove autoplay for video in course about page

The iframe was generated with autoplay=1, which, sometimes, would cause
the video to play in the background.
This commit is contained in:
Bertrand Marron
2014-02-07 18:33:10 +01:00
parent 98a5ce3261
commit 1ad6468d33

View File

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