1. Go to this page and download the library: Download illmy/media-player library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
illmy / media-player example snippets
// Add a play button to the current field column. After clicking it will open a modal to play the video file.
$grid->foo()->video();
// Add an audio player to the current field column
$grid->foo()->audio();
// This field will be displayed as a video player
$show->foo()->video();
// this field will be displayed as an audio player
$show->foo()->audio();