Skip to content

Instantly share code, notes, and snippets.

@mediawrangler
Created June 19, 2018 19:35
Show Gist options
  • Save mediawrangler/97670ed58f1431fa4968c31b23b8a0a0 to your computer and use it in GitHub Desktop.
Save mediawrangler/97670ed58f1431fa4968c31b23b8a0a0 to your computer and use it in GitHub Desktop.
Sample Branching Video
blocks:
- type: container
class: asdf
blocks:
- type: component
path: partial/organelles/branching-video
parameters:
intro:
video:
id: toystory
aspectratio: '16:9'
cards:
- prompt: prompt1a
items:
- description: node 0 response 0
target: 1
video:
id: toystory
- description: node 0 response 1
target: 2
video:
id: toystory
- prompt: prompt2
correct: true
items:
- description: node 1 response 0
target: 3
correct: true
video:
id: toystory
- description: node 1 response 1
target: 2
video:
id: toystory
- prompt: prompt3
items:
- description: node 2 response 0
target: 0
video:
id: toystory
- description: node 2 response 1
target: 0
video:
id: toystory
- description: node 2 response 2
target: 0
video:
id: toystory
correct: false
continueButtonEnabled: 'yes'
uniquePath: 'yes'
continueButtonLabel: continueButtonLabel
finishButtonLabel: finishButtonLabel
configs:
init: true
forceVideo: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment