To achieve our solution, we are going to do the following:
- On the view-thread page, we are going to provide a button next to Reply named Reply with Video, to keep things simple
- The user is going to record a video using the camera attached to their laptop/computer
- We are going to the upload that video recording to our server
- The video will be saved on our servers temporarily
- The uploaded video will then be sent to Google Video Intelligence API to detect labels and explicit content
- If the explicit content returns POSSIBLE for the pornographyLikelihood property on any of the segments in the video, we do not allow the user to upload that video
- If the video is safe, we then upload it to Cloudinary, as we did in Chapter 3, Cloud ...