Skip to content

Commit

Permalink
fix: videoblockpreview to videoblockdisplay (#32673)
Browse files Browse the repository at this point in the history
#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.
  • Loading branch information
jansenk authored Jul 6, 2023
1 parent b9105a4 commit 7d27a66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmodule/video_block/video_block.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def public_view(self, context):
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

Expand Down

0 comments on commit 7d27a66

Please sign in to comment.