Implemented timerange for mdplayer and use of it in widget Segment: if enable (option is use_timerange) when clicking a segment user can only read the video on current segment + adapted other widgets that need to detect segment to be able to use this option if it is enable so that segment detection is smoother + adjusted API testing form on iframetesting to use the correct api (form is still hidden by default)
<?php namespace TestCAS\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* @var array
*/
protected $middleware = [
'Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode',
'Illuminate\Cookie\Middleware\EncryptCookies',
'Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse',
'Illuminate\Session\Middleware\StartSession',
'Illuminate\View\Middleware\ShareErrorsFromSession',
'TestCAS\Http\Middleware\VerifyCsrfToken',
];
/**
* The application's route middleware.
*
* @var array
*/
protected $routeMiddleware = [
'auth.cas' => 'TestCAS\Http\Middleware\CasAuthenticate',
];
}