@clickview/player 0.0.0-rc.1 → 0.0.0-rc.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (368) hide show
  1. package/.eslintrc.json +3 -0
  2. package/.storybook/main.js +22 -0
  3. package/.storybook/preview-head.html +3 -0
  4. package/.storybook/stories/Base.stories.tsx +132 -0
  5. package/.storybook/stories/Clips.stories.tsx +64 -0
  6. package/.storybook/stories/Interactives.stories.tsx +65 -0
  7. package/.storybook/stories/Subtitles.stories.tsx +22 -0
  8. package/.storybook/stories/assets/chapters.vtt +19 -0
  9. package/.storybook/stories/assets/en.vtt +8 -0
  10. package/.storybook/stories/assets/es.vtt +8 -0
  11. package/.storybook/stories/assets/fr.vtt +8 -0
  12. package/.storybook/stories/assets/interactive.json +451 -0
  13. package/.storybook/stories/assets/sample_1280x720.mp4.jpg +0 -0
  14. package/.storybook/stories/assets/sample_1280x720.mp4.vtx +0 -0
  15. package/.storybook/stories/assets/thumbnails.vtt +62 -0
  16. package/.storybook/stories/assets/vertical.mp4 +0 -0
  17. package/.storybook/stories/utils/Wrap.tsx +18 -0
  18. package/.storybook/stories/utils/mock-playerapi.ts +238 -0
  19. package/.storybook/stories/utils/mock-setup.ts +16 -0
  20. package/dist/libs/analytics/src/Analytics.d.ts +10 -0
  21. package/dist/libs/analytics/src/AnalyticsHelper.d.ts +30 -0
  22. package/dist/libs/analytics/src/clients/CollectionApiClient.d.ts +48 -0
  23. package/dist/libs/analytics/src/constants/CountryRegionMapping.d.ts +7 -0
  24. package/dist/libs/analytics/src/constants/EventFirehose.d.ts +4 -0
  25. package/dist/libs/analytics/src/constants/GlobalChannels.d.ts +3 -0
  26. package/dist/libs/analytics/src/constants/Regions.d.ts +6 -0
  27. package/dist/libs/analytics/src/constants/Services.d.ts +4 -0
  28. package/dist/libs/analytics/src/enums/CountryCode.d.ts +5 -0
  29. package/dist/libs/analytics/src/enums/RegionName.d.ts +5 -0
  30. package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +319 -0
  31. package/dist/libs/analytics/src/interfaces/Config.d.ts +3 -0
  32. package/dist/libs/analytics/src/interfaces/Folder.d.ts +3 -0
  33. package/dist/libs/analytics/src/interfaces/HashObject.d.ts +3 -0
  34. package/dist/libs/analytics/src/interfaces/Owner.d.ts +3 -0
  35. package/dist/libs/analytics/src/interfaces/Playlist.d.ts +3 -0
  36. package/dist/libs/analytics/src/interfaces/Rating.d.ts +4 -0
  37. package/dist/libs/analytics/src/interfaces/Region.d.ts +5 -0
  38. package/dist/libs/analytics/src/interfaces/RegionalUrl.d.ts +5 -0
  39. package/dist/libs/analytics/src/interfaces/Resource.d.ts +5 -0
  40. package/dist/libs/analytics/src/interfaces/Series.d.ts +3 -0
  41. package/dist/libs/analytics/src/interfaces/Subtitle.d.ts +4 -0
  42. package/dist/libs/analytics/src/interfaces/User.d.ts +17 -0
  43. package/dist/libs/analytics/src/interfaces/VersionData.d.ts +4 -0
  44. package/dist/libs/analytics/src/interfaces/Video.d.ts +16 -0
  45. package/dist/libs/analytics/src/interfaces/index.d.ts +15 -0
  46. package/dist/libs/analytics/src/interfaces/primitives/BaseObject.d.ts +7 -0
  47. package/dist/libs/analytics/src/models/AnalyticsEvent.d.ts +49 -0
  48. package/dist/libs/analytics/src/models/CollectionEvent.d.ts +61 -0
  49. package/dist/libs/analytics/src/services/ContextService.d.ts +19 -0
  50. package/dist/libs/analytics/src/utils/CollectionApiClientHelper.d.ts +6 -0
  51. package/dist/libs/analytics/src/utils/DataFormatHelper.d.ts +14 -0
  52. package/dist/libs/analytics/src/utils/EventWhitelistHelper.d.ts +19 -0
  53. package/dist/libs/analytics/src/utils/TypeHelper.d.ts +4 -0
  54. package/dist/libs/analytics/src/utils/UploadDataFormatHelper.d.ts +10 -0
  55. package/dist/libs/analytics/src/utils/UrlHelper.d.ts +3 -0
  56. package/dist/libs/analytics/src/utils/UserAgentHelper.d.ts +10 -0
  57. package/dist/libs/analytics/src/utils/VideoDataFormatHelper.d.ts +42 -0
  58. package/dist/libs/common/src/backbone/constants/CommonChannels.d.ts +5 -0
  59. package/dist/libs/common/src/backbone/core/AppLink.d.ts +37 -0
  60. package/dist/libs/common/src/backbone/core/BaseAppRouter.d.ts +103 -0
  61. package/dist/libs/common/src/backbone/core/BaseApplication.d.ts +76 -0
  62. package/dist/libs/common/src/backbone/core/BaseBehavior.d.ts +6 -0
  63. package/dist/libs/common/src/backbone/core/BaseCollection.d.ts +7 -0
  64. package/dist/libs/common/src/backbone/core/BaseCollectionView.d.ts +16 -0
  65. package/dist/libs/common/src/backbone/core/BaseError.d.ts +18 -0
  66. package/dist/libs/common/src/backbone/core/BaseLayoutView.d.ts +11 -0
  67. package/dist/libs/common/src/backbone/core/BaseModel.d.ts +27 -0
  68. package/dist/libs/common/src/backbone/core/BaseNestedModel.d.ts +21 -0
  69. package/dist/libs/common/src/backbone/core/BaseService.d.ts +10 -0
  70. package/dist/libs/common/src/backbone/core/BaseView.d.ts +131 -0
  71. package/dist/libs/common/src/backbone/core/EventNames.d.ts +16 -0
  72. package/dist/libs/common/src/backbone/core/LayoutService.d.ts +31 -0
  73. package/dist/libs/common/src/backbone/core/ListenToRadio.d.ts +3 -0
  74. package/dist/libs/common/src/backbone/core/LocationUtils.d.ts +23 -0
  75. package/dist/libs/common/src/backbone/core/Middleware.d.ts +10 -0
  76. package/dist/libs/common/src/backbone/core/Shell.d.ts +79 -0
  77. package/dist/libs/common/src/backbone/core/Types.d.ts +12 -0
  78. package/dist/libs/common/src/backbone/core/index.d.ts +27 -0
  79. package/dist/libs/common/src/backbone/enums/DataServiceErrorType.d.ts +8 -0
  80. package/dist/libs/common/src/backbone/enums/HttpVerbs.d.ts +6 -0
  81. package/dist/libs/common/src/backbone/errors/DevError.d.ts +4 -0
  82. package/dist/libs/common/src/backbone/index.d.ts +2 -0
  83. package/dist/libs/common/src/backbone/interfaces/BaseCollectionIdentifier.d.ts +19 -0
  84. package/dist/libs/common/src/backbone/interfaces/ChainableDataService.d.ts +9 -0
  85. package/dist/libs/common/src/backbone/interfaces/DataCache.d.ts +8 -0
  86. package/dist/libs/common/src/backbone/interfaces/DataProvider.d.ts +15 -0
  87. package/dist/libs/common/src/backbone/interfaces/DataServiceError.d.ts +7 -0
  88. package/dist/libs/common/src/backbone/interfaces/DataServiceRequests.d.ts +218 -0
  89. package/dist/libs/common/src/backbone/interfaces/Pagination.d.ts +33 -0
  90. package/dist/libs/common/src/backbone/interfaces/StickitBinding.d.ts +38 -0
  91. package/dist/libs/common/src/backbone/interfaces/Xhr.d.ts +9 -0
  92. package/dist/libs/common/src/backbone/interfaces/index.d.ts +9 -0
  93. package/dist/libs/common/src/backbone/services/EnvironmentVariables.d.ts +13 -0
  94. package/dist/libs/common/src/backbone/utils/UrlHelper.d.ts +14 -0
  95. package/dist/libs/common/src/react/flight/enums/RequestStatus.d.ts +6 -0
  96. package/dist/libs/common/src/react/flight/enums/index.d.ts +1 -0
  97. package/dist/libs/common/src/react/flight/interfaces/FlightState.d.ts +22 -0
  98. package/dist/libs/common/src/react/flight/interfaces/NormalizeOptions.d.ts +4 -0
  99. package/dist/libs/common/src/react/flight/interfaces/Request.d.ts +29 -0
  100. package/dist/libs/common/src/react/flight/interfaces/UpdateStateOptions.d.ts +15 -0
  101. package/dist/libs/common/src/react/interfaces/ApplicationData.d.ts +3 -0
  102. package/dist/libs/common/src/react/interfaces/ApplicationState.d.ts +8 -0
  103. package/dist/libs/common/src/react/interfaces/BaseReducerActions.d.ts +4 -0
  104. package/dist/libs/common/src/react/interfaces/HashObject.d.ts +3 -0
  105. package/dist/libs/common/src/react/interfaces/index.d.ts +4 -0
  106. package/dist/libs/common/src/react/utils/ObjectHelper.d.ts +10 -0
  107. package/dist/libs/common/src/react/utils/RandomHelper.d.ts +3 -0
  108. package/dist/libs/shared/src/apps/notifications/enums/NotificationType.d.ts +16 -0
  109. package/dist/libs/shared/src/components/app-link/AppLink.d.ts +13 -0
  110. package/dist/libs/shared/src/components/lazy-image/LazyImage.d.ts +7 -0
  111. package/dist/libs/shared/src/components/thumbnails/base/BaseThumbnail.d.ts +25 -0
  112. package/dist/libs/shared/src/components/tooltip/Tooltip.d.ts +16 -0
  113. package/dist/libs/shared/src/components/widgets/items/resource-widget-item/ResourceWidgetItem.d.ts +17 -0
  114. package/dist/libs/shared/src/constants/AppVariables.d.ts +5 -0
  115. package/dist/libs/shared/src/enums/ClassificationType.d.ts +4 -0
  116. package/dist/libs/shared/src/enums/CountryCode.d.ts +5 -0
  117. package/dist/libs/shared/src/enums/CurriculumType.d.ts +6 -0
  118. package/dist/libs/shared/src/enums/CustomerType.d.ts +11 -0
  119. package/dist/libs/shared/src/enums/GlanceFormat.d.ts +3 -0
  120. package/dist/libs/shared/src/enums/Images.d.ts +26 -0
  121. package/dist/libs/shared/src/enums/MasterType.d.ts +61 -0
  122. package/dist/libs/shared/src/enums/MediaQueries.d.ts +20 -0
  123. package/dist/libs/shared/src/enums/ObjectStatus.d.ts +5 -0
  124. package/dist/libs/shared/src/enums/PlaylistPrivacy.d.ts +5 -0
  125. package/dist/libs/shared/src/enums/PresentationType.d.ts +4 -0
  126. package/dist/libs/shared/src/enums/ResourceFileType.d.ts +9 -0
  127. package/dist/libs/shared/src/enums/SettingKind.d.ts +4 -0
  128. package/dist/libs/shared/src/enums/SettingName.d.ts +17 -0
  129. package/dist/libs/shared/src/enums/ThemeType.d.ts +3 -0
  130. package/dist/libs/shared/src/enums/UserGroup.d.ts +5 -0
  131. package/dist/libs/shared/src/enums/UserRole.d.ts +15 -0
  132. package/dist/libs/shared/src/enums/WidgetContents.d.ts +10 -0
  133. package/dist/libs/shared/src/hooks/UseGetMediaQueryString.d.ts +2 -0
  134. package/dist/libs/shared/src/hooks/UseLazyLoad.d.ts +6 -0
  135. package/dist/libs/shared/src/hooks/UseMediaQuery.d.ts +1 -0
  136. package/dist/libs/shared/src/interfaces/AppLinkWithLabel.d.ts +5 -0
  137. package/dist/libs/shared/src/interfaces/DialogOptions.d.ts +13 -0
  138. package/dist/libs/shared/src/interfaces/ImageUrls.d.ts +16 -0
  139. package/dist/libs/shared/src/interfaces/QueryParams.d.ts +3 -0
  140. package/dist/libs/shared/src/interfaces/RegionalUrl.d.ts +5 -0
  141. package/dist/libs/shared/src/interfaces/WidgetContext.d.ts +9 -0
  142. package/dist/libs/shared/src/interfaces/app-variables/BaseNotificationsAppVariables.d.ts +16 -0
  143. package/dist/libs/shared/src/interfaces/app-variables/BaseSearchAppVariables.d.ts +17 -0
  144. package/dist/libs/shared/src/interfaces/app-variables/index.d.ts +2 -0
  145. package/dist/libs/shared/src/interfaces/collections/AudienceCollection.d.ts +4 -0
  146. package/dist/libs/shared/src/interfaces/collections/CategoryCollection.d.ts +4 -0
  147. package/dist/libs/shared/src/interfaces/collections/ClassificationCollection.d.ts +4 -0
  148. package/dist/libs/shared/src/interfaces/collections/ClassroomCollection.d.ts +4 -0
  149. package/dist/libs/shared/src/interfaces/collections/ClassroomGroupCollection.d.ts +4 -0
  150. package/dist/libs/shared/src/interfaces/collections/ClipCollection.d.ts +4 -0
  151. package/dist/libs/shared/src/interfaces/collections/CompanyCollection.d.ts +3 -0
  152. package/dist/libs/shared/src/interfaces/collections/CustomerCollection.d.ts +4 -0
  153. package/dist/libs/shared/src/interfaces/collections/FolderCollection.d.ts +4 -0
  154. package/dist/libs/shared/src/interfaces/collections/InteractiveCollection.d.ts +4 -0
  155. package/dist/libs/shared/src/interfaces/collections/LibraryCollection.d.ts +4 -0
  156. package/dist/libs/shared/src/interfaces/collections/LinkCollection.d.ts +4 -0
  157. package/dist/libs/shared/src/interfaces/collections/PersonCollection.d.ts +3 -0
  158. package/dist/libs/shared/src/interfaces/collections/PlaylistCollection.d.ts +4 -0
  159. package/dist/libs/shared/src/interfaces/collections/PresentationAudienceCollection.d.ts +4 -0
  160. package/dist/libs/shared/src/interfaces/collections/ResourceCollection.d.ts +3 -0
  161. package/dist/libs/shared/src/interfaces/collections/SeriesCollection.d.ts +4 -0
  162. package/dist/libs/shared/src/interfaces/collections/SubtitleCollection.d.ts +3 -0
  163. package/dist/libs/shared/src/interfaces/collections/TagCollection.d.ts +4 -0
  164. package/dist/libs/shared/src/interfaces/collections/UserCollection.d.ts +3 -0
  165. package/dist/libs/shared/src/interfaces/collections/VideoCollection.d.ts +4 -0
  166. package/dist/libs/shared/src/interfaces/collections/VideoHistoryCollection.d.ts +4 -0
  167. package/dist/libs/shared/src/interfaces/collections/WidgetCollection.d.ts +3 -0
  168. package/dist/libs/shared/src/interfaces/collections/YearGroupCollection.d.ts +3 -0
  169. package/dist/libs/shared/src/interfaces/collections/index.d.ts +26 -0
  170. package/dist/libs/shared/src/interfaces/collections/primitives/BasePaginatedCollection.d.ts +7 -0
  171. package/dist/libs/shared/src/interfaces/collections/primitives/index.d.ts +1 -0
  172. package/dist/libs/shared/src/interfaces/index.d.ts +13 -0
  173. package/dist/libs/shared/src/interfaces/models/Audience.d.ts +3 -0
  174. package/dist/libs/shared/src/interfaces/models/Avatar.d.ts +3 -0
  175. package/dist/libs/shared/src/interfaces/models/Banner.d.ts +3 -0
  176. package/dist/libs/shared/src/interfaces/models/Category.d.ts +3 -0
  177. package/dist/libs/shared/src/interfaces/models/Channel.d.ts +3 -0
  178. package/dist/libs/shared/src/interfaces/models/Classification.d.ts +21 -0
  179. package/dist/libs/shared/src/interfaces/models/Classroom.d.ts +5 -0
  180. package/dist/libs/shared/src/interfaces/models/ClassroomGroup.d.ts +17 -0
  181. package/dist/libs/shared/src/interfaces/models/Clip.d.ts +8 -0
  182. package/dist/libs/shared/src/interfaces/models/Company.d.ts +3 -0
  183. package/dist/libs/shared/src/interfaces/models/Config.d.ts +13 -0
  184. package/dist/libs/shared/src/interfaces/models/Cover.d.ts +3 -0
  185. package/dist/libs/shared/src/interfaces/models/Curriculum.d.ts +18 -0
  186. package/dist/libs/shared/src/interfaces/models/Customer.d.ts +6 -0
  187. package/dist/libs/shared/src/interfaces/models/EntitySetting.d.ts +9 -0
  188. package/dist/libs/shared/src/interfaces/models/FileUpload.d.ts +20 -0
  189. package/dist/libs/shared/src/interfaces/models/Folder.d.ts +7 -0
  190. package/dist/libs/shared/src/interfaces/models/Following.d.ts +4 -0
  191. package/dist/libs/shared/src/interfaces/models/Glance.d.ts +9 -0
  192. package/dist/libs/shared/src/interfaces/models/Group.d.ts +3 -0
  193. package/dist/libs/shared/src/interfaces/models/HeroBanner.d.ts +3 -0
  194. package/dist/libs/shared/src/interfaces/models/Image.d.ts +7 -0
  195. package/dist/libs/shared/src/interfaces/models/InteractiveMetadata.d.ts +14 -0
  196. package/dist/libs/shared/src/interfaces/models/Language.d.ts +4 -0
  197. package/dist/libs/shared/src/interfaces/models/LanguageConfig.d.ts +5 -0
  198. package/dist/libs/shared/src/interfaces/models/Library.d.ts +5 -0
  199. package/dist/libs/shared/src/interfaces/models/Link.d.ts +4 -0
  200. package/dist/libs/shared/src/interfaces/models/Organisation.d.ts +3 -0
  201. package/dist/libs/shared/src/interfaces/models/Pdf.d.ts +4 -0
  202. package/dist/libs/shared/src/interfaces/models/Person.d.ts +3 -0
  203. package/dist/libs/shared/src/interfaces/models/PlayerViewKey.d.ts +3 -0
  204. package/dist/libs/shared/src/interfaces/models/Playlist.d.ts +19 -0
  205. package/dist/libs/shared/src/interfaces/models/Poster.d.ts +3 -0
  206. package/dist/libs/shared/src/interfaces/models/Presentation.d.ts +6 -0
  207. package/dist/libs/shared/src/interfaces/models/PresentationAudience.d.ts +6 -0
  208. package/dist/libs/shared/src/interfaces/models/Rating.d.ts +5 -0
  209. package/dist/libs/shared/src/interfaces/models/Resource.d.ts +17 -0
  210. package/dist/libs/shared/src/interfaces/models/Restriction.d.ts +6 -0
  211. package/dist/libs/shared/src/interfaces/models/Season.d.ts +4 -0
  212. package/dist/libs/shared/src/interfaces/models/Series.d.ts +10 -0
  213. package/dist/libs/shared/src/interfaces/models/Share.d.ts +9 -0
  214. package/dist/libs/shared/src/interfaces/models/Subject.d.ts +13 -0
  215. package/dist/libs/shared/src/interfaces/models/Subtitle.d.ts +7 -0
  216. package/dist/libs/shared/src/interfaces/models/Tag.d.ts +3 -0
  217. package/dist/libs/shared/src/interfaces/models/TallPoster.d.ts +3 -0
  218. package/dist/libs/shared/src/interfaces/models/Theme.d.ts +14 -0
  219. package/dist/libs/shared/src/interfaces/models/Thumbnail.d.ts +6 -0
  220. package/dist/libs/shared/src/interfaces/models/User.d.ts +63 -0
  221. package/dist/libs/shared/src/interfaces/models/UserChannel.d.ts +7 -0
  222. package/dist/libs/shared/src/interfaces/models/Video.d.ts +34 -0
  223. package/dist/libs/shared/src/interfaces/models/VideoHistory.d.ts +12 -0
  224. package/dist/libs/shared/src/interfaces/models/Widget.d.ts +16 -0
  225. package/dist/libs/shared/src/interfaces/models/YearGroup.d.ts +5 -0
  226. package/dist/libs/shared/src/interfaces/models/index.d.ts +57 -0
  227. package/dist/libs/shared/src/interfaces/models/interactive/ActionableItem.d.ts +6 -0
  228. package/dist/libs/shared/src/interfaces/models/interactive/Interaction.d.ts +16 -0
  229. package/dist/libs/shared/src/interfaces/models/interactive/InteractionType.d.ts +7 -0
  230. package/dist/libs/shared/src/interfaces/models/interactive/InteractionTypeId.d.ts +8 -0
  231. package/dist/libs/shared/src/interfaces/models/interactive/Interactive.d.ts +7 -0
  232. package/dist/libs/shared/src/interfaces/models/interactive/Timepoint.d.ts +9 -0
  233. package/dist/libs/shared/src/interfaces/models/interactive/index.d.ts +6 -0
  234. package/dist/libs/shared/src/interfaces/models/primitives/BaseObject.d.ts +10 -0
  235. package/dist/libs/shared/src/interfaces/models/primitives/VirtualObject.d.ts +5 -0
  236. package/dist/libs/shared/src/interfaces/models/primitives/index.d.ts +2 -0
  237. package/dist/libs/shared/src/interfaces/props/ViewProps.d.ts +8 -0
  238. package/dist/libs/shared/src/interfaces/props/index.d.ts +1 -0
  239. package/dist/libs/shared/src/interfaces/requests/CreateOrUpdateClipRequest.d.ts +6 -0
  240. package/dist/libs/shared/src/interfaces/requests/CreateViewKeyRequest.d.ts +3 -0
  241. package/dist/libs/shared/src/interfaces/requests/ReorderRequest.d.ts +12 -0
  242. package/dist/libs/shared/src/interfaces/requests/UpdateObjectChannel.d.ts +3 -0
  243. package/dist/libs/shared/src/interfaces/requests/UpdateObjectRating.d.ts +3 -0
  244. package/dist/libs/shared/src/interfaces/requests/UpdateResourceRequest.d.ts +3 -0
  245. package/dist/libs/shared/src/interfaces/requests/UpdateVideoRequest.d.ts +9 -0
  246. package/dist/libs/shared/src/interfaces/requests/index.d.ts +7 -0
  247. package/dist/libs/shared/src/interfaces/services/BaseConfigDataService.d.ts +5 -0
  248. package/dist/libs/shared/src/interfaces/services/BaseLibraryDataService.d.ts +10 -0
  249. package/dist/libs/shared/src/interfaces/services/BaseSeriesDataService.d.ts +4 -0
  250. package/dist/libs/shared/src/interfaces/services/BaseSettingsDataService.d.ts +7 -0
  251. package/dist/libs/shared/src/interfaces/services/BaseUserDataService.d.ts +6 -0
  252. package/dist/libs/shared/src/interfaces/services/BaseVideoDataService.d.ts +5 -0
  253. package/dist/libs/shared/src/interfaces/services/BaseVideoUploadDataService.d.ts +8 -0
  254. package/dist/libs/shared/src/interfaces/services/index.d.ts +7 -0
  255. package/dist/libs/shared/src/utils/ImageHelper.d.ts +32 -0
  256. package/dist/player-app.css +2375 -0
  257. package/dist/player-app.js +6715 -0
  258. package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-item.d.ts +79 -0
  259. package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-items.d.ts +55 -0
  260. package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-load-progress.d.ts +55 -0
  261. package/dist/projects/player/src/components/chapter-bar-items/chapter-bar-play-progress.d.ts +55 -0
  262. package/dist/projects/player/src/components/chapter-seek-bar/chapter-seek-bar.d.ts +1 -0
  263. package/dist/projects/player/src/components/chapters-button/chapter-menu-item.d.ts +60 -0
  264. package/dist/projects/player/src/components/chapters-button/chapters-button.d.ts +1 -0
  265. package/dist/projects/player/src/components/cog-button/cog-button.d.ts +41 -0
  266. package/dist/projects/player/src/components/collapserator/collapserator.d.ts +4 -0
  267. package/dist/projects/player/src/components/mouse-time-display/mouse-time-display.d.ts +3 -0
  268. package/dist/projects/player/src/components/next-video-menu-item/next-video-menu-item.d.ts +1 -0
  269. package/dist/projects/player/src/components/playback-rate-button/playback-rate-button.d.ts +1 -0
  270. package/dist/projects/player/src/components/progress-control/progress-control.d.ts +12 -0
  271. package/dist/projects/player/src/components/quality-selector/quality-button.d.ts +1 -0
  272. package/dist/projects/player/src/components/quality-selector/quality-menu-item.d.ts +17 -0
  273. package/dist/projects/player/src/components/subs-caps-button/subs-caps-button.d.ts +1 -0
  274. package/dist/projects/player/src/components/thumbnail-display/thumbnail-display.d.ts +66 -0
  275. package/dist/projects/player/src/components/time-tooltip/time-tooltip.d.ts +15 -0
  276. package/dist/projects/player/src/components/time-wrapper/time-wrapper.d.ts +1 -0
  277. package/dist/projects/player/src/index.d.ts +11 -0
  278. package/dist/projects/player/src/interfaces/CollapsibleComponent.d.ts +10 -0
  279. package/dist/projects/player/src/interfaces/NextVideo.d.ts +4 -0
  280. package/dist/projects/player/src/interfaces/models/ApiError.d.ts +4 -0
  281. package/dist/projects/player/src/interfaces/models/ClipData.d.ts +4 -0
  282. package/dist/projects/player/src/interfaces/models/PlaybackObject.d.ts +40 -0
  283. package/dist/projects/player/src/players/base-player.d.ts +68 -0
  284. package/dist/projects/player/src/players/create-clip-player.d.ts +16 -0
  285. package/dist/projects/player/src/players/interactive-player.d.ts +16 -0
  286. package/dist/projects/player/src/players/player.d.ts +26 -0
  287. package/dist/projects/player/src/plugins/clip-plugin/clip-plugin.d.ts +50 -0
  288. package/dist/projects/player/src/plugins/create-clip-plugin/components/clip-timepoint-selector/clip-timepoint-selector-handle.d.ts +54 -0
  289. package/dist/projects/player/src/plugins/create-clip-plugin/components/clip-timepoint-selector/clip-timepoint-selector.d.ts +90 -0
  290. package/dist/projects/player/src/plugins/create-clip-plugin/components/create-clip-seek-bar/create-clip-seek-bar.d.ts +14 -0
  291. package/dist/projects/player/src/plugins/create-clip-plugin/create-clip-plugin.d.ts +14 -0
  292. package/dist/projects/player/src/plugins/example-plugin/components/example-button/example-button.d.ts +1 -0
  293. package/dist/projects/player/src/plugins/example-plugin/components/example-react-button/example-react-button.d.ts +1 -0
  294. package/dist/projects/player/src/plugins/example-plugin/example-plugin.d.ts +2 -0
  295. package/dist/projects/player/src/plugins/fullscreen-on-rotate-plugin/fullscreen-on-rotate-plugin.d.ts +1 -0
  296. package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-components.d.ts +5 -0
  297. package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-short-answer.ts/create-short-answer.d.ts +11 -0
  298. package/dist/projects/player/src/plugins/interactive-plugin/components/create-components/create-type-selector/create-type-selector.d.ts +8 -0
  299. package/dist/projects/player/src/plugins/interactive-plugin/components/feedback/feedback.d.ts +7 -0
  300. package/dist/projects/player/src/plugins/interactive-plugin/components/incomplete-alert/incomplete-alert.d.ts +2 -0
  301. package/dist/projects/player/src/plugins/interactive-plugin/components/interactive/interactive-component.d.ts +1 -0
  302. package/dist/projects/player/src/plugins/interactive-plugin/components/seek-bar/interactive-bar-item.d.ts +21 -0
  303. package/dist/projects/player/src/plugins/interactive-plugin/components/seek-bar/interactive-bar-items.d.ts +66 -0
  304. package/dist/projects/player/src/plugins/interactive-plugin/components/timepoint/timepoint-component.d.ts +22 -0
  305. package/dist/projects/player/src/plugins/interactive-plugin/components/view-components/annotation/annotation-interaction.d.ts +3 -0
  306. package/dist/projects/player/src/plugins/interactive-plugin/components/view-components/image/image-interaction.d.ts +4 -0
  307. package/dist/projects/player/src/plugins/interactive-plugin/components/view-components/missing-word/missing-word-interaction.d.ts +10 -0
  308. package/dist/projects/player/src/plugins/interactive-plugin/components/view-components/multiple-choice/multiple-choice-interaction.d.ts +10 -0
  309. package/dist/projects/player/src/plugins/interactive-plugin/components/view-components/short-answer/short-answer-interaction.d.ts +9 -0
  310. package/dist/projects/player/src/plugins/interactive-plugin/components/view-components/view-components.d.ts +5 -0
  311. package/dist/projects/player/src/plugins/interactive-plugin/components/view-components/view-interaction-heading/view-interaction-heading.d.ts +8 -0
  312. package/dist/projects/player/src/plugins/interactive-plugin/interactive-plugin.d.ts +1 -0
  313. package/dist/projects/player/src/plugins/interactive-plugin/interfaces/InteractionComponent.d.ts +3 -0
  314. package/dist/projects/player/src/plugins/interactive-plugin/interfaces/InteractionProps.d.ts +8 -0
  315. package/dist/projects/player/src/plugins/interactive-plugin/interfaces/InteractiveMode.d.ts +4 -0
  316. package/dist/projects/player/src/plugins/interactive-plugin/interfaces/SubmissionFunction.d.ts +2 -0
  317. package/dist/projects/player/src/plugins/interactive-plugin/interfaces/ValidationFunction.d.ts +2 -0
  318. package/dist/projects/player/src/plugins/interactive-plugin/interfaces/index.d.ts +5 -0
  319. package/dist/projects/player/src/plugins/interactive-plugin/utils/getInteractionComponents.d.ts +3 -0
  320. package/dist/projects/player/src/plugins/interactive-plugin/utils/getInteractionStateId.d.ts +2 -0
  321. package/dist/projects/player/src/plugins/interactive-plugin/utils/getSubmissionFunction.d.ts +3 -0
  322. package/dist/projects/player/src/plugins/interactive-plugin/utils/getTimepointStateId.d.ts +2 -0
  323. package/dist/projects/player/src/plugins/interactive-plugin/utils/getValidationFunction.d.ts +3 -0
  324. package/dist/projects/player/src/plugins/interactive-plugin/utils/useInteractiveTrack.d.ts +18 -0
  325. package/dist/projects/player/src/plugins/localcache-plugin/LocalCache.d.ts +12 -0
  326. package/dist/projects/player/src/plugins/localcache-plugin/compontents/local-cache-indicator.d.ts +1 -0
  327. package/dist/projects/player/src/plugins/localcache-plugin/localcache-middleware.d.ts +1 -0
  328. package/dist/projects/player/src/plugins/localcache-plugin/localcache-plugin.d.ts +62 -0
  329. package/dist/projects/player/src/plugins/next-video-plugin/components/up-next/up-next.d.ts +1 -0
  330. package/dist/projects/player/src/plugins/next-video-plugin/next-video-plugin.d.ts +52 -0
  331. package/dist/projects/player/src/plugins/open-externally-plugin/components/open-externally-button.d.ts +1 -0
  332. package/dist/projects/player/src/plugins/open-externally-plugin/interfaces/ExternalLinkOptions.d.ts +3 -0
  333. package/dist/projects/player/src/plugins/open-externally-plugin/open-externally-plugin.d.ts +1 -0
  334. package/dist/projects/player/src/plugins/persist-volume-plugin/persist-volume-plugin.d.ts +1 -0
  335. package/dist/projects/player/src/plugins/persist-volume-plugin/persist-volume-plugin.test.d.ts +1 -0
  336. package/dist/projects/player/src/plugins/progress-reporter-plugin/progress-reporter-plugin.d.ts +9 -0
  337. package/dist/projects/player/src/plugins/progressive-files-plugin/ProgressiveFilesPluginOptions.d.ts +4 -0
  338. package/dist/projects/player/src/plugins/progressive-files-plugin/ProgressiveRepresentation.d.ts +10 -0
  339. package/dist/projects/player/src/plugins/progressive-files-plugin/interfaces/Source.d.ts +6 -0
  340. package/dist/projects/player/src/plugins/progressive-files-plugin/progressive-files-plugin.d.ts +38 -0
  341. package/dist/projects/player/src/plugins/resources-plugin/components/resource-menu-item/resource-menu-item.d.ts +30 -0
  342. package/dist/projects/player/src/plugins/resources-plugin/components/resources-button/resources-button.d.ts +1 -0
  343. package/dist/projects/player/src/plugins/resources-plugin/resources-plugin.d.ts +14 -0
  344. package/dist/projects/player/src/plugins/touch-controls-plugin/components/touch-controls/touch-controls.d.ts +59 -0
  345. package/dist/projects/player/src/plugins/touch-controls-plugin/touch-controls-plugin.d.ts +1 -0
  346. package/dist/projects/player/src/react/CreateClipPlayer.d.ts +3 -0
  347. package/dist/projects/player/src/react/InteractivePlayer.d.ts +9 -0
  348. package/dist/projects/player/src/react/Player.d.ts +10 -0
  349. package/dist/projects/player/src/react/react-component.d.ts +11 -0
  350. package/dist/projects/player/src/services/analytics-service.d.ts +15 -0
  351. package/dist/projects/player/src/utils/ajax-helper.d.ts +6 -0
  352. package/dist/projects/player/src/utils/fn.d.ts +14 -0
  353. package/dist/projects/player/src/utils/formatTime.d.ts +5 -0
  354. package/dist/projects/player/src/utils/hotkeys.d.ts +5 -0
  355. package/dist/projects/player/src/utils/quality-helper.d.ts +19 -0
  356. package/dist/projects/player/src/utils/quality-helper.test.d.ts +1 -0
  357. package/dist/projects/player/src/utils/scrollbar-helper.d.ts +6 -0
  358. package/dist/projects/player/src/utils/track-helper.d.ts +7 -0
  359. package/dist/projects/player/test/players/test-player.d.ts +17 -0
  360. package/dist/projects/player/test/setupTests.d.ts +0 -0
  361. package/dist/projects/player/test/utils/test-helpers.d.ts +8 -0
  362. package/jest.config.js +13 -0
  363. package/package.json +22 -6
  364. package/test/players/test-player.ts +31 -0
  365. package/test/setupTests.ts +8 -0
  366. package/test/utils/test-helpers.ts +22 -0
  367. package/typings/libs/videojs-contrib-quality-levels.d.ts +29 -0
  368. package/dist/index.html +0 -19
@@ -0,0 +1,451 @@
1
+ {
2
+ "timepoints": [{
3
+ "interactions": [{
4
+ "data": {
5
+ "sentence": "A news website keeping track of the number of clicks stories receive is an example of a {17} tool used to gather information."
6
+ },
7
+ "actionableItems": [{
8
+ "name": "digital",
9
+ "order": 17,
10
+ "isCorrect": true,
11
+ "interactionId": 704598,
12
+ "id": 1560253,
13
+ "deleted": false,
14
+ "dateCreated": "2020-11-04T23:27:03",
15
+ "dateDeleted": null,
16
+ "dateModified": null
17
+ }],
18
+ "name": "A news website keeping track of the number of clicks stories receive is an example of a _______ tool used to gather information.",
19
+ "order": 0,
20
+ "description": null,
21
+ "errorMessage": null,
22
+ "isRequired": false,
23
+ "interactiveId": 190303,
24
+ "timepointId": 709577,
25
+ "typeId": 6,
26
+ "type": {
27
+ "name": "Missing word",
28
+ "icon": "//static.clickview.com.au/cv-online/images/interactions/icons/missing-word-v2.png",
29
+ "colour": "51ada3",
30
+ "id": 6,
31
+ "deleted": false,
32
+ "dateCreated": "2015-10-19T09:01:50",
33
+ "dateDeleted": null,
34
+ "dateModified": null
35
+ },
36
+ "id": 704598,
37
+ "deleted": false,
38
+ "dateCreated": "0001-01-01T00:00:00",
39
+ "dateDeleted": null,
40
+ "dateModified": null
41
+ }],
42
+ "visibleAt": 2500,
43
+ "visibleFor": null,
44
+ "shouldPause": 1,
45
+ "interactiveId": 190303,
46
+ "id": 709577,
47
+ "deleted": false,
48
+ "dateCreated": "0001-01-01T00:00:00",
49
+ "dateDeleted": null,
50
+ "dateModified": null
51
+ }, {
52
+ "interactions": [{
53
+ "data": {},
54
+ "actionableItems": [{
55
+ "name": "True",
56
+ "order": 0,
57
+ "isCorrect": false,
58
+ "interactionId": 704603,
59
+ "id": 1560263,
60
+ "deleted": false,
61
+ "dateCreated": "2020-11-04T23:27:41",
62
+ "dateDeleted": null,
63
+ "dateModified": null
64
+ }, {
65
+ "name": "False",
66
+ "order": 1,
67
+ "isCorrect": true,
68
+ "interactionId": 704603,
69
+ "id": 1560262,
70
+ "deleted": false,
71
+ "dateCreated": "2020-11-04T23:27:41",
72
+ "dateDeleted": null,
73
+ "dateModified": null
74
+ }],
75
+ "name": "A 'cookie' is term used to describe personalised, targeted advertisements.",
76
+ "order": 0,
77
+ "description": null,
78
+ "errorMessage": null,
79
+ "isRequired": false,
80
+ "interactiveId": 190303,
81
+ "timepointId": 709582,
82
+ "typeId": 3,
83
+ "type": {
84
+ "name": "True or False",
85
+ "icon": "//static.clickview.com.au/cv-online/images/interactions/icons/true-or-false-v2.png",
86
+ "colour": "b18cbb",
87
+ "id": 3,
88
+ "deleted": false,
89
+ "dateCreated": "2015-10-19T09:01:50",
90
+ "dateDeleted": null,
91
+ "dateModified": null
92
+ },
93
+ "id": 704603,
94
+ "deleted": false,
95
+ "dateCreated": "0001-01-01T00:00:00",
96
+ "dateDeleted": null,
97
+ "dateModified": null
98
+ }],
99
+ "visibleAt": 4500,
100
+ "visibleFor": null,
101
+ "shouldPause": 1,
102
+ "interactiveId": 190303,
103
+ "id": 709582,
104
+ "deleted": false,
105
+ "dateCreated": "0001-01-01T00:00:00",
106
+ "dateDeleted": null,
107
+ "dateModified": null
108
+ }, {
109
+ "interactions": [{
110
+ "data": {},
111
+ "actionableItems": [{
112
+ "name": "Advertising",
113
+ "order": 0,
114
+ "isCorrect": true,
115
+ "interactionId": 704604,
116
+ "id": 1560270,
117
+ "deleted": false,
118
+ "dateCreated": "2020-11-04T23:28:33",
119
+ "dateDeleted": null,
120
+ "dateModified": null
121
+ }, {
122
+ "name": "Social media",
123
+ "order": 1,
124
+ "isCorrect": true,
125
+ "interactionId": 704604,
126
+ "id": 1560269,
127
+ "deleted": false,
128
+ "dateCreated": "2020-11-04T23:28:33",
129
+ "dateDeleted": null,
130
+ "dateModified": null
131
+ }, {
132
+ "name": "News and 'fake news'",
133
+ "order": 2,
134
+ "isCorrect": true,
135
+ "interactionId": 704604,
136
+ "id": 1560271,
137
+ "deleted": false,
138
+ "dateCreated": "2020-11-04T23:28:33",
139
+ "dateDeleted": null,
140
+ "dateModified": null
141
+ }, {
142
+ "name": "Election campaigns",
143
+ "order": 3,
144
+ "isCorrect": true,
145
+ "interactionId": 704604,
146
+ "id": 1560268,
147
+ "deleted": false,
148
+ "dateCreated": "2020-11-04T23:28:33",
149
+ "dateDeleted": null,
150
+ "dateModified": null
151
+ }],
152
+ "name": "Select all that apply. In what contexts might 'hyper-nudging' occur?",
153
+ "order": 0,
154
+ "description": null,
155
+ "errorMessage": null,
156
+ "isRequired": false,
157
+ "interactiveId": 190303,
158
+ "timepointId": 709583,
159
+ "typeId": 1,
160
+ "type": {
161
+ "name": "Multiple Choice",
162
+ "icon": "//static.clickview.com.au/cv-online/images/interactions/icons/multiple-choice-v2.png",
163
+ "colour": "629fc9",
164
+ "id": 1,
165
+ "deleted": false,
166
+ "dateCreated": "2015-10-19T09:01:50",
167
+ "dateDeleted": null,
168
+ "dateModified": null
169
+ },
170
+ "id": 704604,
171
+ "deleted": false,
172
+ "dateCreated": "0001-01-01T00:00:00",
173
+ "dateDeleted": null,
174
+ "dateModified": null
175
+ }],
176
+ "visibleAt": 6500,
177
+ "visibleFor": null,
178
+ "shouldPause": 1,
179
+ "interactiveId": 190303,
180
+ "id": 709583,
181
+ "deleted": false,
182
+ "dateCreated": "0001-01-01T00:00:00",
183
+ "dateDeleted": null,
184
+ "dateModified": null
185
+ }, {
186
+ "interactions": [{
187
+ "data": {
188
+ "sentence": "Cambridge Analytica had access not only to their own data, but also data made available to them by {18}."
189
+ },
190
+ "actionableItems": [{
191
+ "name": "Facebook",
192
+ "order": 18,
193
+ "isCorrect": true,
194
+ "interactionId": 704608,
195
+ "id": 1560286,
196
+ "deleted": false,
197
+ "dateCreated": "2020-11-04T23:29:22",
198
+ "dateDeleted": null,
199
+ "dateModified": null
200
+ }],
201
+ "name": "Cambridge Analytica had access not only to their own data, but also data made available to them by _________.",
202
+ "order": 0,
203
+ "description": null,
204
+ "errorMessage": null,
205
+ "isRequired": false,
206
+ "interactiveId": 190303,
207
+ "timepointId": 709587,
208
+ "typeId": 6,
209
+ "type": {
210
+ "name": "Missing word",
211
+ "icon": "//static.clickview.com.au/cv-online/images/interactions/icons/missing-word-v2.png",
212
+ "colour": "51ada3",
213
+ "id": 6,
214
+ "deleted": false,
215
+ "dateCreated": "2015-10-19T09:01:50",
216
+ "dateDeleted": null,
217
+ "dateModified": null
218
+ },
219
+ "id": 704608,
220
+ "deleted": false,
221
+ "dateCreated": "0001-01-01T00:00:00",
222
+ "dateDeleted": null,
223
+ "dateModified": null
224
+ }],
225
+ "visibleAt": 8500,
226
+ "visibleFor": null,
227
+ "shouldPause": 1,
228
+ "interactiveId": 190303,
229
+ "id": 709587,
230
+ "deleted": false,
231
+ "dateCreated": "0001-01-01T00:00:00",
232
+ "dateDeleted": null,
233
+ "dateModified": null
234
+ }, {
235
+ "interactions": [{
236
+ "data": {},
237
+ "actionableItems": [{
238
+ "name": "True",
239
+ "order": 0,
240
+ "isCorrect": true,
241
+ "interactionId": 704613,
242
+ "id": 1560300,
243
+ "deleted": false,
244
+ "dateCreated": "2020-11-04T23:30:27",
245
+ "dateDeleted": null,
246
+ "dateModified": null
247
+ }, {
248
+ "name": "False",
249
+ "order": 1,
250
+ "isCorrect": false,
251
+ "interactionId": 704613,
252
+ "id": 1560301,
253
+ "deleted": false,
254
+ "dateCreated": "2020-11-04T23:30:27",
255
+ "dateDeleted": null,
256
+ "dateModified": null
257
+ }],
258
+ "name": "Companies can combine information from multiple different digital sources to draw conclusions about people's behaviour.",
259
+ "order": 0,
260
+ "description": null,
261
+ "errorMessage": null,
262
+ "isRequired": false,
263
+ "interactiveId": 190303,
264
+ "timepointId": 709592,
265
+ "typeId": 3,
266
+ "type": {
267
+ "name": "True or False",
268
+ "icon": "//static.clickview.com.au/cv-online/images/interactions/icons/true-or-false-v2.png",
269
+ "colour": "b18cbb",
270
+ "id": 3,
271
+ "deleted": false,
272
+ "dateCreated": "2015-10-19T09:01:50",
273
+ "dateDeleted": null,
274
+ "dateModified": null
275
+ },
276
+ "id": 704613,
277
+ "deleted": false,
278
+ "dateCreated": "0001-01-01T00:00:00",
279
+ "dateDeleted": null,
280
+ "dateModified": null
281
+ }],
282
+ "visibleAt": 10500,
283
+ "visibleFor": null,
284
+ "shouldPause": 1,
285
+ "interactiveId": 190303,
286
+ "id": 709592,
287
+ "deleted": false,
288
+ "dateCreated": "0001-01-01T00:00:00",
289
+ "dateDeleted": null,
290
+ "dateModified": null
291
+ }, {
292
+ "interactions": [{
293
+ "data": {},
294
+ "actionableItems": [{
295
+ "name": "Answer",
296
+ "order": 0,
297
+ "isCorrect": null,
298
+ "interactionId": 704616,
299
+ "id": 1560311,
300
+ "deleted": false,
301
+ "dateCreated": "2020-11-04T23:32:59",
302
+ "dateDeleted": null,
303
+ "dateModified": null
304
+ }],
305
+ "name": "Think of a form of social media or an app that you use regularly. What personal details or other data do you think it has about you?",
306
+ "order": 0,
307
+ "description": null,
308
+ "errorMessage": null,
309
+ "isRequired": false,
310
+ "interactiveId": 190303,
311
+ "timepointId": 709595,
312
+ "typeId": 2,
313
+ "type": {
314
+ "name": "Short Answer",
315
+ "icon": "//static.clickview.com.au/cv-online/images/interactions/icons/short-answer-v2.png",
316
+ "colour": "73b18c",
317
+ "id": 2,
318
+ "deleted": false,
319
+ "dateCreated": "2015-10-19T09:01:50",
320
+ "dateDeleted": null,
321
+ "dateModified": null
322
+ },
323
+ "id": 704616,
324
+ "deleted": false,
325
+ "dateCreated": "0001-01-01T00:00:00",
326
+ "dateDeleted": null,
327
+ "dateModified": null
328
+ }],
329
+ "visibleAt": 12500,
330
+ "visibleFor": null,
331
+ "shouldPause": 1,
332
+ "interactiveId": 190303,
333
+ "id": 709595,
334
+ "deleted": false,
335
+ "dateCreated": "0001-01-01T00:00:00",
336
+ "dateDeleted": null,
337
+ "dateModified": null
338
+ },{
339
+ "interactions": [{
340
+ "data": {
341
+ "annotation": "\n Discussion Time!<br><br>Can you think of a choice you have made that felt like the RIGHT thing to do?&nbsp;<br><br>What were the consequences?<br><br>"
342
+ },
343
+ "actionableItems": [{
344
+ "name": "Answer",
345
+ "order": 0,
346
+ "isCorrect": null,
347
+ "interactionId": 702581,
348
+ "id": 1556100,
349
+ "deleted": false,
350
+ "dateCreated": "2020-11-03T21:34:21",
351
+ "dateDeleted": null,
352
+ "dateModified": null
353
+ }],
354
+ "name": "Annotation",
355
+ "order": 0,
356
+ "description": null,
357
+ "errorMessage": null,
358
+ "isRequired": false,
359
+ "interactiveId": 189978,
360
+ "timepointId": 707559,
361
+ "typeId": 4,
362
+ "type": {
363
+ "name": "Annotation",
364
+ "icon": "//static.clickview.com.au/cv-online/images/interactions/icons/annotation-v2.png",
365
+ "colour": "f07e7e",
366
+ "id": 4,
367
+ "deleted": false,
368
+ "dateCreated": "2015-10-19T09:01:50",
369
+ "dateDeleted": null,
370
+ "dateModified": null
371
+ },
372
+ "id": 702581,
373
+ "deleted": false,
374
+ "dateCreated": "0001-01-01T00:00:00",
375
+ "dateDeleted": null,
376
+ "dateModified": null
377
+ }],
378
+ "visibleAt": 14500,
379
+ "visibleFor": null,
380
+ "shouldPause": 1,
381
+ "interactiveId": 189978,
382
+ "id": 707559,
383
+ "deleted": false,
384
+ "dateCreated": "0001-01-01T00:00:00",
385
+ "dateDeleted": null,
386
+ "dateModified": null
387
+ },{
388
+ "interactions":[
389
+ {
390
+ "data":{
391
+ "url":"https://api-image.clickviewapp.com/v1/thumbnails/5920179",
392
+ "caption":"The dark green area on this map shows how large the Murray-Darling Basin is. This area alone is responsible for growing one third of Australia's entire food supply!"
393
+ },
394
+ "actionableItems":[
395
+ {
396
+ "name":"Viewed",
397
+ "order":0,
398
+ "isCorrect":true,
399
+ "interactionId":664721,
400
+ "id":1476619,
401
+ "deleted":false,
402
+ "dateCreated":"2020-09-24T05:31:04",
403
+ "dateDeleted":null,
404
+ "dateModified":null
405
+ }
406
+ ],
407
+ "name":"The dark green area on this map shows how large the Murray-Darling Basin is. This area alone is responsible for growing one third of Australia's entire food supply!",
408
+ "order":0,
409
+ "description":null,
410
+ "errorMessage":null,
411
+ "isRequired":false,
412
+ "interactiveId":183569,
413
+ "timepointId":669510,
414
+ "typeId":5,
415
+ "type":{
416
+ "name":"Image",
417
+ "icon":"//static.clickview.com.au/cv-online/images/interactions/icons/image-v2.png",
418
+ "colour":"f8981d",
419
+ "id":5,
420
+ "deleted":false,
421
+ "dateCreated":"2015-10-19T09:01:50",
422
+ "dateDeleted":null,
423
+ "dateModified":null
424
+ },
425
+ "id":664721,
426
+ "deleted":false,
427
+ "dateCreated":"0001-01-01T00:00:00",
428
+ "dateDeleted":null,
429
+ "dateModified":null
430
+ }
431
+ ],
432
+ "visibleAt":16500,
433
+ "visibleFor":null,
434
+ "shouldPause":1,
435
+ "interactiveId":183569,
436
+ "id":669510,
437
+ "deleted":false,
438
+ "dateCreated":"0001-01-01T00:00:00",
439
+ "dateDeleted":null,
440
+ "dateModified":null
441
+ }],
442
+ "immediateFeedback": true,
443
+ "id": 190303,
444
+ "name": "How Your Online Data is Used",
445
+ "duration": 0,
446
+ "posterImage": null,
447
+ "dateCreated": "2020-11-04T23:25:34",
448
+ "dateModified": null,
449
+ "dateDeleted": null,
450
+ "deleted": false
451
+ }
@@ -0,0 +1,62 @@
1
+ WEBVTT
2
+
3
+ 00:00:00.000 --> 00:00:01.000
4
+ /sample_1280x720.mp4.vtx#xywh=6,77,160,90
5
+
6
+ 00:00:01.000 --> 00:00:02.000
7
+ /sample_1280x720.mp4.vtx#xywh=171,77,160,90
8
+
9
+ 00:00:02.000 --> 00:00:04.000
10
+ /sample_1280x720.mp4.vtx#xywh=336,77,160,90
11
+
12
+ 00:00:04.000 --> 00:00:05.000
13
+ /sample_1280x720.mp4.vtx#xywh=501,77,160,90
14
+
15
+ 00:00:05.000 --> 00:00:06.000
16
+ /sample_1280x720.mp4.vtx#xywh=666,77,160,90
17
+
18
+ 00:00:06.000 --> 00:00:08.000
19
+ /sample_1280x720.mp4.vtx#xywh=6,172,160,90
20
+
21
+ 00:00:08.000 --> 00:00:09.000
22
+ /sample_1280x720.mp4.vtx#xywh=171,172,160,90
23
+
24
+ 00:00:09.000 --> 00:00:10.000
25
+ /sample_1280x720.mp4.vtx#xywh=336,172,160,90
26
+
27
+ 00:00:10.000 --> 00:00:12.000
28
+ /sample_1280x720.mp4.vtx#xywh=501,172,160,90
29
+
30
+ 00:00:12.000 --> 00:00:13.000
31
+ /sample_1280x720.mp4.vtx#xywh=666,172,160,90
32
+
33
+ 00:00:13.000 --> 00:00:14.000
34
+ /sample_1280x720.mp4.vtx#xywh=6,267,160,90
35
+
36
+ 00:00:14.000 --> 00:00:16.000
37
+ /sample_1280x720.mp4.vtx#xywh=171,267,160,90
38
+
39
+ 00:00:16.000 --> 00:00:17.000
40
+ /sample_1280x720.mp4.vtx#xywh=336,267,160,90
41
+
42
+ 00:00:17.000 --> 00:00:18.000
43
+ /sample_1280x720.mp4.vtx#xywh=501,267,160,90
44
+
45
+ 00:00:18.000 --> 00:00:20.000
46
+ /sample_1280x720.mp4.vtx#xywh=666,267,160,90
47
+
48
+ 00:00:20.000 --> 00:00:21.000
49
+ /sample_1280x720.mp4.vtx#xywh=6,362,160,90
50
+
51
+ 00:00:21.000 --> 00:00:22.000
52
+ /sample_1280x720.mp4.vtx#xywh=171,362,160,90
53
+
54
+ 00:00:22.000 --> 00:00:24.000
55
+ /sample_1280x720.mp4.vtx#xywh=336,362,160,90
56
+
57
+ 00:00:24.000 --> 00:00:25.000
58
+ /sample_1280x720.mp4.vtx#xywh=501,362,160,90
59
+
60
+ 00:00:25.000 --> 00:00:29.000
61
+ /sample_1280x720.mp4.vtx#xywh=666,362,160,90
62
+
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+
3
+ interface WrapProps {
4
+ el: HTMLElement;
5
+ }
6
+
7
+ export function Wrap(props: WrapProps): React.ReactElement {
8
+ const ref = React.useRef<HTMLDivElement>();
9
+
10
+ React.useEffect(() => {
11
+ if (ref.current)
12
+ ref.current.appendChild(props.el);
13
+ }, []);
14
+
15
+ return (
16
+ <div ref={ref}></div>
17
+ );
18
+ }