Merge pull request #7544 from edx/ahsan/tnl-1675-iframe-elements-require-meaningful-title

iframe elements require a meaningful title attribute
This commit is contained in:
Ahsan Ulhaq
2015-04-16 13:54:15 +05:00
4 changed files with 4 additions and 3 deletions

View File

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