Skip to content

Commit 60e22a2

Browse files
committed
Enhance audio element to prevent downloading and playback rate adjustments
1 parent 5b52664 commit 60e22a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CmsAdmin/Resource/web/js/tiny/plugins/lioniteimages/js/lioniteimages.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
}
4949

5050
if (el.attr('data-typ') == 'audio') {
51-
var box = '<audio src="' + el.attr('href') + '" controls controlsList="nodownload" oncontextmenu="return false;"></audio>';
51+
var box = '<audio src="' + el.attr('href') + '" controls controlsList="nodownload noplaybackrate" oncontextmenu="return false;"></audio>';
5252
}
5353

5454
if (el.attr('data-typ') == 'video') {

0 commit comments

Comments
 (0)