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:
Jansen Kantor
2023-07-06 14:55:34 -04:00
committed by GitHub
parent b9105a45d9
commit 7d27a66a60

View File

@@ -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