Update Embedfiles.php

start on audio
This commit is contained in:
Ray 2023-03-13 10:03:18 -04:00
parent 691fefb13d
commit 2c01dfea80

View file

@ -178,6 +178,10 @@ class Embedfiles extends Controller
$url = z_root() . '/cloud/' . $channel['channel_address'] . '/' . $_POST['display_path']; $url = z_root() . '/cloud/' . $channel['channel_address'] . '/' . $_POST['display_path'];
$output .= "\n\n" . '[zvideo]' . $url . '[/zvideo]' . "\n\n"; $output .= "\n\n" . '[zvideo]' . $url . '[/zvideo]' . "\n\n";
break; break;
case "audio/mpeg":
case "audio/wav":
case "audio/ogg":
break;
default: default:
return ''; return '';
} }