A lightweight Symfony bundle that exposes video.js assets for use in Twig templates.
^8.5^7.4Install via Composer:
composer require azine/video.js-bundle
Enable the bundle (only needed for Symfony versions that do not use Flex auto-registration):
// config/bundles.php
return [
// ...
Azine\VideoJsBundle\AzineVideoJsBundle::class => ['all' => true],
];
Install bundle assets:
php bin/console assets:install public
Reference bundle assets in Twig:
<link rel="stylesheet" href="{{ asset('bundles/azinevideojs/css/video-js.min.css') }}" />
<script src="{{ asset('bundles/azinevideojs/js/video.min.js') }}"></script>
Run checks locally:
composer validate --strict --no-check-publish
composer update
composer test
target-dir/PSR-0) with PSR-4 autoloading.Refer to the source code of included video.js files for upstream license details. The bundle itself is Apache-2.0 licensed.
How can I help you explore Laravel packages today?