ParadymDevelopers Search docs فارسی Console

Connect your archive

Give every title a stable ID. Your CDN delivers the media directly to the viewer.

On this pageMap a film to a stable IDCheck deliveryProtected customer mediaSeries and episodesImport an existing catalog

Map a film to a stable ID

Choose an ID from your catalog. The site and environment identify the archive that owns it. Supply the actual HTTPS MP4 or HLS manifest URL. A web page URL cannot be used as a video source. Video bytes go from your CDN to the viewer.

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"}
    ]
  }'
Example response · HTTP 200
JSON
{"asset_id":"demo-film","revision":1}

Check delivery

  • Allow the player origin on the manifest, nested playlists, segments and text tracks.
  • Serve the actual media MIME type and support byte-range requests for MP4 seeking.
  • Test a seek near the end.
  • Only register URLs intended for authorized browsers to receive.

Protected customer media

On a verified site, configure the allowed HTTPS media origins in Console → Protected archive resolver. Store the returned signing secret on your customer server. Implement POST /.well-known/paradym-player/resolve on the verified HTTPS origin, port 443. Verify the SHA-256 HMAC of the exact request bytes in X-Paradym-Signature, check timestamp freshness, and deduplicate request IDs. Look up the supplied viewer and exact edition for every request. Return 403 for denied access.

Register this asset with source_url omitted. On success return source_url and UTC expires_at, leaving at least 60 seconds of validity. Restrict segment and encryption-key delivery at your CDN too. Short CDN expiry bounds access after a viewer loses their entitlement.

  1. Player requests access
  2. Paradym signs the resolver request
  3. Your server checks the viewer and edition
  4. Authorized browser reads from your CDN

Series and episodes

Register one stable asset ID for each episode, with series_id, season_number and episode_number. Use the same series ID throughout a single archive. Implement onNavigate for a website integration to resolve the requested asset, check access, and mount a fresh launch. WordPress handles page integration through its plugin.

JSON
{"title":"Episode 2","series_id":"winter","season_number":1,"episode_number":2,"source_type":"hls","source_url":"https://cdn.example.org/winter/s1e2/index.m3u8"}

Import an existing catalog

In Console → Archive, choose Import a catalog file. Supply a UTF-8 JSON array with one complete record per external asset_id. The console sends the same PUT operation as the server API and records each outcome. Correct rejected rows and retry with the same stable IDs. For large archives, page your inventory and batch it on your server.

JSON
[{"asset_id":"demo-film","title":"First film","source_type":"mp4","source_url":"https://developers.paradym.tv/assets/first-film.mp4"}]

Search docs

Use the arrow keys to choose a guide.