fix: videoblockpreview to videoblockdisplay (#32673)
#32592 changed some webpack loading, and renamed the video display bundle from VideoBlockPreview to VideoBlockDisplay but the code for the public view did not include the updated name.
This commit is contained in:
@@ -276,7 +276,7 @@ class VideoBlock(
|
||||
return self.student_view(context)
|
||||
|
||||
fragment = Fragment(self.get_html(view=PUBLIC_VIEW, context=context))
|
||||
add_webpack_js_to_fragment(fragment, 'VideoBlockPreview')
|
||||
add_webpack_js_to_fragment(fragment, 'VideoBlockDisplay')
|
||||
shim_xmodule_js(fragment, 'Video')
|
||||
return fragment
|
||||
|
||||
|
||||
Reference in New Issue
Block a user