Skip to content

Latest commit

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

inScreen example with video

Read more at inScreen docs

To run the example:

  1. Create a sandbox account.
  2. Create an .env file in this folder as follows using the values of your sandbox account.
    REACT_APP_INSCREEN_TENANT_ID=...
    REACT_APP_INSCREEN_API_KEY=...
    
  3. Run npm start

Simplified Diagram

graph TB
subgraph Application
M[Main]
VP[Video Player]
end
subgraph inScreen
ISSDK[inScreen SDK & timeline component]
end
M ==>|1. initialize with token| ISSDK
M -.->|render| VP
VP ==>|2. update current time| ISSDK
VP ==>|3. start new thread| ISSDK
ISSDK ==>|4. seek & pause when activated| VP
ISSDK ==>|5. analytics events| M
Loading

Extended Diagram

graph TB
subgraph Application
M[Main]
VP[Video Player]
end
subgraph inScreen
ISSDK[inScreen SDK]
ISA["<inscreen-anchor /> element"]
ISTL["inScreen timeline component"]
end
M ==>|1. initialize with token| ISSDK
M -.->|render| VP
VP -.->|render| ISA
VP -.->|optionally render, based on toggle| ISTL
VP ==>|2. update current time| ISA
VP ==>|3. start new thread| ISSDK
ISSDK ==>|4. seek & pause when activated| VP
ISTL <-.->|synchronization| ISSDK
ISA -.->|synchronization| ISSDK
ISSDK ==>|5. analytics events| M
Loading

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages