Skip to content
Snippets Groups Projects
Commit d8ff37d8 authored by Elmar Ludwig's avatar Elmar Ludwig
Browse files

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

Closes #4207

Merge request studip/studip!3036
parent 9268a3d3
No related branches found
No related tags found
No related merge requests found
......@@ -605,11 +605,6 @@ class StudipCoreFormat extends TextFormat
$title
);
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") {
$media = sprintf('<a href="%s"%s>%s</a>',
$link,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment