mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 08:15:13 +00:00
Update Embedfiles.php
start on audio
This commit is contained in:
parent
691fefb13d
commit
2c01dfea80
1 changed files with 4 additions and 0 deletions
|
@ -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 '';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue