PHP code example of mayakhan719 / filament-audio-column
1. Go to this page and download the library: Download mayakhan719/filament-audio-column 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/ */
mayakhan719 / filament-audio-column example snippets
use Mayakhan719\Tables\Columns\AudioColumn;
public static function table(Table $table): Table
{
return $table
->columns([
AudioColumn::make('audio'),
]);
}
use Maya\Tables\Columns\AudioColumn;
public static function table(Table $table): Table
{
return $table
->columns([
AudioColumn::make('audio')
->label('Podcast Episode')
->native(true) // ->native(false) use Player.style Audio Player
]);
}