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