Skip to content

Commit c34a779

Browse files
remove auto-pause from text type
1 parent 5a8f3ee commit c34a779

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

src/player/modules/HypervideoModel/module.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -411,11 +411,13 @@
411411
"left": protoData.position.left,
412412
"width": protoData.position.width,
413413
"height": protoData.position.height
414-
},
415-
"events": {
416-
"onStart": "FrameTrail.module('HypervideoController').pause();"
417414
}
418415
}
416+
if ( protoData.type == 'quiz' || protoData.type == 'hotspot' ) {
417+
newData.events = {
418+
"onStart": "FrameTrail.module('HypervideoController').pause();"
419+
};
420+
}
419421
} else {
420422
newData = {
421423
"name": resourceDatabase[protoData.resourceId].name,

0 commit comments

Comments
 (0)