Video completion marked at end of video
This commit is contained in:
@@ -28,7 +28,7 @@ window.VerticalStudentView = function(runtime, element) {
|
||||
function(idx, block) {
|
||||
var blockKey = block.dataset.id;
|
||||
|
||||
if (block.dataset.completableByViewing === undefined) {
|
||||
if (!block.dataset.completableByViewing) {
|
||||
return;
|
||||
}
|
||||
// TODO: EDUCATOR-1778
|
||||
|
||||
@@ -438,6 +438,7 @@ class VideoDescriptor(VideoFields, VideoTranscriptsMixin, VideoStudioViewHandler
|
||||
module_class = VideoModule
|
||||
transcript = module_attr('transcript')
|
||||
publish_completion = module_attr('publish_completion')
|
||||
has_custom_completion = module_attr('has_custom_completion')
|
||||
|
||||
show_in_read_only_mode = True
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
% for idx, item in enumerate(items):
|
||||
<div class="vert vert-${idx}" data-id="${item['id']}" \
|
||||
% if item['id'] in watched_completable_blocks:
|
||||
data-completable-by-viewing \
|
||||
data-completable-by-viewing=True \
|
||||
% endif
|
||||
>
|
||||
${HTML(item['content'])}
|
||||
|
||||
Reference in New Issue
Block a user