Record
Client Steps
Step 1: Record Your Gameplay
You can use various screen recording tools depending on your platform (PC, Mac, or mobile). Below are the steps for popular platforms.
For PC (Windows 11):
- Using Xbox Game Bar:
- Press
Win + Gto open the Xbox Game Bar. - Click the Capture option in the menu.
- Hit Start Recording to begin.
- Play the game and when you’re done, press the Stop Recording button.
- Your video will be saved in the Videos > Captures folder.
- Press
For Mac:
- Using QuickTime Player:
- Open QuickTime Player.
- Go to File > New Screen Recording.
- Hit the Record button to start recording.
- Play the game and press the Stop button in the menu bar when you’re done.
- Save your video file to your preferred location.
For Mobile (Android/iOS):
-
Android:
- Open the screen recorder (available on most devices).
- Start recording by pressing the Record button.
- Play the game and when finished, tap Stop Recording.
- The video will be saved in your Gallery.
-
iOS:
- Swipe down to access Control Center.
- Tap the Screen Recording button.
- Play your game, and once done, tap the red bar at the top of the screen and tap Stop.
- The video will be saved in your Photos app.
Step 2: Upload Your Video to Google Drive
Once the recording is complete, follow these steps to upload the video:
For PC/Mac:
- Open Google Drive.
- Sign in with your Google account.
- Click the + New button on the left side and select File Upload.
- Select the recorded gameplay video from your file explorer and click Open.
- The video will start uploading. You can track the progress in the bottom-right corner of the page.
For Android/iOS:
- Open the Google Drive app.
- Tap the + (Add) button at the bottom right.
- Select Upload.
- Find and select the video from your Gallery or File Manager.
- The upload process will begin, and you’ll be able to track the progress.
Step 3: Share the Google Drive Link
Once your video is uploaded to Google Drive, you can share it by following these steps:
- Locate the video in Google Drive.
- Right-click (or long-press on mobile) the video file and select Get Link.
- In the sharing options:
- Choose Anyone with the link if you want to share it publicly.
- If you want to share with specific individuals, choose Restricted and enter their email addresses.
- Click Copy Link to copy the link to your clipboard.
- Share the copied link with the intended audience via email or other messaging services.
Developer Steps
Step 1: Set Up Postman with cURL Command
The developer opens Postman and sets the request type to POST. The cURL command used for the request is provided, which includes the API endpoint and headers for authentication.
-
In the dropdown beside the URL field, select
POST. -
In Postman, use the following cURL command for setting up the request:
curl --location 'https://fabulous50s.colakin.com/storage/api/v1/upload' \
--header 'X-API-Key: -----------------------------------=' \
--form 'video=@"/path/to/file"'- Replace
/path/to/filewith the actual path to the video file. - Ensure that the correct API key is provided in the
X-API-Keyheader.
- Replace
Step 2: Download Video from YouTube
To download a video from YouTube for local use, the following website can be used: FastConverter.
- Enter the YouTube video URL into the converter.
- Download the video in the required format for uploading.
Step 3: Choose the Video File
Next, the developer specifies the video file to upload. This is done using the form-data section in the Body tab.
- Open the Body tab.
- Select form-data.
- Add a key named
video. - From the dropdown beside the key, choose File.
- Upload the video file by selecting it from your system.
Step 4: Ensure Correct Video Format
Before uploading, the developer ensures that the video is in the required format (e.g., .mp4, .avi, etc.). A conversion tool can be used to adjust the format if necessary.
- Verify that the file format is compatible with the API requirements.
- If needed, convert the video using an external tool such as VLC Media Player or HandBrake.
Step 5: Send the Request
Once everything is set, the developer clicks the Send button in Postman to upload the video. Postman will handle the request, and the developer can view the server’s response to confirm whether the upload was successful.
Step 6: Check the Response
The server response will indicate whether the video was uploaded successfully or if there was an error. The developer checks the response to confirm or troubleshoot any issues.