Skip to content

Endpoint

  • Method: POST
  • Path: /fluent-player/video-upload
  • Edition: Core
  • Controller: MediaController@uploadVideo
  • Route source: fluent-community/Modules/Integrations/FluentPlayer/Http/player_api.php:11
  • Controller source: fluent-community/Modules/Integrations/FluentPlayer/Http/Controllers/MediaController.php

POST Upload Video

POST
/fluent-player/video-upload

Upload Video for the FluentCommunity Media API.

Controller: MediaController@uploadVideo
Route source: fluent-community/Modules/Integrations/FluentPlayer/Http/player_api.php:11

Authorizations

ApplicationPasswords

WordPress Application Passwords — use Basic auth with username:application_password.

Type
API Key (header: Authorization)

Request Body

multipart/form-data
object
Format"binary"

Responses

Successful response

application/json
JSON
{
  
"media": {
  
  
"media_id": 0,
  
  
"url": "string",
  
  
"media_key": "string",
  
  
"type": "string",
  
  
"settings": {
  
  
  
"src": "string",
  
  
  
"title": "string",
  
  
  
"original_name": "string",
  
  
  
"width": 0,
  
  
  
"height": 0,
  
  
  
"provider": "string",
  
  
  
"crossorigin": true,
  
  
  
"posterSrc": "string",
  
  
  
"playerWidth": 0,
  
  
  
"brandColor": "string",
  
  
  
"controlBarColor": "string",
  
  
  
"aspectRatio": "string"
  
  
},
  
  
"html": "string"
  
}
}

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI