We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a8f3ee commit c34a779Copy full SHA for c34a779
1 file changed
src/player/modules/HypervideoModel/module.js
@@ -411,11 +411,13 @@
411
"left": protoData.position.left,
412
"width": protoData.position.width,
413
"height": protoData.position.height
414
- },
415
- "events": {
416
- "onStart": "FrameTrail.module('HypervideoController').pause();"
417
}
418
+ if ( protoData.type == 'quiz' || protoData.type == 'hotspot' ) {
+ newData.events = {
+ "onStart": "FrameTrail.module('HypervideoController').pause();"
419
+ };
420
+ }
421
} else {
422
newData = {
423
"name": resourceDatabase[protoData.resourceId].name,
0 commit comments