Skip to content
Snippets Groups Projects
Commit 602e07a9 authored by Elmar Ludwig's avatar Elmar Ludwig Committed by Jan-Hendrik Willms
Browse files

remove fallback to non-existing flash player, fixes #4207

Closes #4207

Merge request studip/studip!3036
parent 44c2feb1
No related branches found
No related tags found
No related merge requests found
...@@ -618,11 +618,6 @@ class StudipCoreFormat extends TextFormat ...@@ -618,11 +618,6 @@ class StudipCoreFormat extends TextFormat
); );
} }
if ($tag === 'audio') {
$random_id = 'audio-' . mb_substr(md5(uniqid('audio', true)), -8);
$media = str_replace('<audio ', '<audio id="' . $random_id . '" onerror="STUDIP.Audio.handle(this);" ', $media);
}
if ($link && $tag === "img") { if ($link && $tag === "img") {
$media = sprintf('<a href="%s"%s>%s</a>', $media = sprintf('<a href="%s"%s>%s</a>',
$link, $link,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment