Merge pull request #1796 from MITx/feature/vaxxxa/fix-caption-asset-path

fix caption_asset_path for videoalpha
This commit is contained in:
chrisndodge
2013-04-03 06:17:13 -07:00

View File

@@ -131,7 +131,7 @@ class VideoAlphaModule(VideoAlphaFields, XModule):
else:
# VS[compat]
# cdodge: filesystem static content support.
caption_asset_path = "/static/{0}/subs/".format(getattr(self, 'data_dir', None))
caption_asset_path = "/static/subs/"
return self.system.render_template('videoalpha.html', {
'youtube_streams': self.youtube_streams,