ParadymDevelopers Search docs فارسی Console

First playback

Play the sample film on your registered site and confirm its first playback in Test.

On this pageCreate a test siteRegister the sample filmPlay on your siteVerify the first playback
Before you start

Have your developer account, exact HTTPS website origin and access to your server configuration ready. You’ll create a Test key with assets:write and playback:issue. Keep it on your server.

Create a test site

Open Console, register a developer account, then add a site name and the exact HTTPS origin of the page that will host your player. Each site starts on Free. Choose Test to integrate before DNS verification.

Check · Your exact website origin appears in Console and the environment reads Test.

Register the sample film

Create a test key with archive and playback permissions. Set PARADYM_API_ORIGIN and PARADYM_PLAYER_KEY on your server. Run this request there. Reuse the same asset ID when you update the film.

cURL
curl --fail-with-body --request PUT "$PARADYM_API_ORIGIN/partner/v1/assets/demo-film" \
  --header "Authorization: Bearer $PARADYM_PLAYER_KEY" \
  --header 'Content-Type: application/json' \
  --data '{
    "title": "First film",
    "source_type": "mp4",
    "source_url": "https://developers.paradym.tv/assets/first-film.mp4",
    "subtitles": [
      {"language":"fa","label":"فارسی","url":"https://developers.paradym.tv/assets/fa.vtt"}
    ]
  }'

HTTP 200 · The receipt includes asset_id and revision.

Play on your site

Follow the WordPress guide or the JavaScript SDK guide. Start the film on the registered origin, seek, then open Usage in your console. A successful grant and a playback start are separate events.

Check · Start the film, seek, then check that Playback starts increased in the Test overview.

Verify the first playback

In Console, select the same site and Test environment. Open Overview and refresh the usage report. Look for a launch grant when your server authorizes the viewer and a playback start after the film begins.

Search docs

Use the arrow keys to choose a guide.