Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Jul 15, 2024
1 parent 071126b commit 6f73c6a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugin/CustomizeAdvanced/actionButton.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@

if($obj->allowDownloadMP3){
$filename = $videoAB->getFilename();
$paths = Video::getPaths($filename);
$mp3FileRelative = "{$video['filename']}.mp3";
$paths = Video::getPaths($mp3FileRelative);
var_dump($paths);
$mp3File = "{$paths['path']}{$video['filename']}.mp3";
$mp3URL= "{$paths['url']}{$video['filename']}.mp3";
if (file_exists($mp3File)) {
Expand Down

0 comments on commit 6f73c6a

Please sign in to comment.