← All changes
|
Modules/Integrations/FluentPlayer/Http/player_api.php
+2
-1
2.7.0
→
2.10.0
View file →
| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | |
| 3 | 3 | defined('ABSPATH') || exit; |
| 4 | 4 | |
| 5 | 5 | /** |
| 6 | - * @var $router FluentCommunity\Framework\Http\Router | |
| 6 | + * @var FluentCommunity\Framework\Http\Router $router | |
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | 9 | $router->prefix('fluent-player') |
| 10 | 10 | ->namespace('FluentCommunity\Modules\Integrations\FluentPlayer\Http\Controllers') |
| @@ -11,5 +11,6 @@ | ||
| 11 | 11 | ->withPolicy(\FluentCommunity\App\Http\Policies\PortalPolicy::class) |
| 12 | 12 | ->group(function ($router) { |
| 13 | 13 | $router->post('/video-upload', 'MediaController@uploadVideo'); |
| 14 | 14 | $router->get('/video-content/{media_id}', 'MediaController@getFluentPlayerContent'); |
| 15 | + $router->post('/audio-media/{media_id}', 'MediaController@updateAudioMeta'); | |
| 15 | 16 | }); |