Commit 67cbf50b by Carlos A. Rocha

Fix swfobject and django-pipeline - Cosmetic fix for youtube player

parent df5e6d68
......@@ -28,7 +28,7 @@ class @VideoPlayer extends Subview
atts = { id: @videoid };
youtubeId = @video.youtubeId()
swfobject.embedSWF("https://www.youtube.com/v/#{youtubeId}?enablejsapi=1&version=3&playerapiid=ytplayer",
swfobject.embedSWF("https://www.youtube.com/v/#{youtubeId}?enablejsapi=1&version=3&playerapiid=ytplayer&rel=0&modestbranding=1&showsearch=0&showinfo=0",
@video.id, "425", "356", "9", null, null, params, atts )
......
......@@ -443,9 +443,9 @@ courseware_only_js += [
main_vendor_js = [
'js/vendor/jquery.min.js',
'js/vendor/jquery-ui.min.js',
'js/vendor/swfobject/swfobject.js',
'js/vendor/jquery.cookie.js',
'js/vendor/jquery.qtip.min.js',
'js/vendor/swfobject/swfobject.js',
]
discussion_js = sorted(glob2.glob(PROJECT_ROOT / 'static/coffee/src/discussion/*.coffee'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment