Skip to content

Instantly share code, notes, and snippets.

@tmbtech
Last active July 9, 2018 23:49
Show Gist options
  • Save tmbtech/999cded3808e15e906fff7facdf716db to your computer and use it in GitHub Desktop.
Save tmbtech/999cded3808e15e906fff7facdf716db to your computer and use it in GitHub Desktop.
In Game - MVPD Flow
In Game - MVPD Flow
call to action
click -> route to next page
route to next page
success -> try to play video
try to play video
success -> play video
fail -> is video available for third party auth
is video available for third party auth
success -> get identity provider group names
fail -> show generic error screen
get identity provider group names
success -> get identity provider name
get identity provider name
show generic error screen
play video
function render(model){
let current_state_name = model.active_states[0].name;
return $("h1",
{style: {color: "darkBlue"}},
`The current state is: ${current_state_name}`);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment