Advertisement
Guest User

Untitled

a guest
Jul 16th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.40 KB | None | 0 0
  1. # Terminologies
  2.  
  3. * **Capsules/Videos**
  4.  
  5. Capsules are nothing but just videos. It used to refer to something else in the past but now it only refers to the video
  6. we are creating. `capsuleId` is nothing but `videoId`.
  7.  
  8. * **Cards/Scenes**
  9.  
  10. Videos are composed of scenes. These scenes are referred to as `cards` in the codebase/database. `Capsules` consist of an
  11. array of `cards` just like how vidoes consist of different scenes.
  12.  
  13. * **VideoFilter/Transitions**
  14.  
  15. Difference scenes in a video may have some sort of transition between them. This transition is referred to as `videoFilter` in
  16. our codebase/database. Each `card` (scene) will have this field which will define it's transition to the next scene. It can be
  17. empty which means no transition. A transition is nothing but just a short video which is played between two scenes.
  18.  
  19. * **VideoFilterOverlay/Overlay**
  20.  
  21. A scene in a video might have another visual media overlayed on top of it. This is referred to as `videoFilterOverlay` in our
  22. codebase/database. Each `card` (scene) will have this field. It can be empty meaning on overlay of top of the scene. Like a
  23. transition, an overlay is nothing but just a short video which is overlayed on top of the current scene.
  24.  
  25. * **Options/Captions**
  26.  
  27. Each scene of the video may contain some texts/captions overlayed on top of it. We refer to these overlayed texts as `options` in our
  28. codebase/database. Each `card` has an array of `options` analogous to how a scene can have many texts.
  29.  
  30. * **TextVideoEffect/Dynamic Background**
  31.  
  32. Each text in a scene may have a dynamic background. This dynamic background which plays is nothing but just a short video and
  33. is referred to as `textVideoEffect` in our codebase/database. Each `option` (text) contains a subfield `styles` which
  34. contains the `textVideoEffect` field. It is the id of the dynamic background video effect object.
  35. Those effects are stored in a seperate table called `VideoEffects`.
  36.  
  37. * **Team/Workspace**
  38.  
  39. Team and workspace are the same thing. Workspace is referred to as `team` in our codebase/database. Workspace is a sort of
  40. container to categorize the videos and inviting other users to collaborate on.
  41.  
  42. * **Position/Modify Length**
  43.  
  44. Scenes in a video are composed of media and captions. Media can either be a image/video and have a certain position inside
  45. the scene. Similar is the case with captions. Their positions are stored inside and referred to as `modifyLength` property in
  46. our codebase/database.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement