Skip to main content

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):

  1. Using Xbox Game Bar:
    • Press Win + G to 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.

For Mac:

  1. 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):

  1. 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.
  2. 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:

  1. Open Google Drive.
  2. Sign in with your Google account.
  3. Click the + New button on the left side and select File Upload.
  4. Select the recorded gameplay video from your file explorer and click Open.
  5. The video will start uploading. You can track the progress in the bottom-right corner of the page.

For Android/iOS:

  1. Open the Google Drive app.
  2. Tap the + (Add) button at the bottom right.
  3. Select Upload.
  4. Find and select the video from your Gallery or File Manager.
  5. The upload process will begin, and you’ll be able to track the progress.

Once your video is uploaded to Google Drive, you can share it by following these steps:

  1. Locate the video in Google Drive.
  2. Right-click (or long-press on mobile) the video file and select Get Link.
  3. 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.
  4. Click Copy Link to copy the link to your clipboard.
  5. 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.

  1. In the dropdown beside the URL field, select POST.

  2. 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/file with the actual path to the video file.
    • Ensure that the correct API key is provided in the X-API-Key header.

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.

  1. Open the Body tab.
  2. Select form-data.
  3. Add a key named video.
  4. From the dropdown beside the key, choose File.
  5. 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.