Properly handle react-sdk's recorder worklet

Fixes https://github.com/vector-im/element-web/issues/18393
This commit is contained in:
Travis Ralston 2021-08-04 15:08:52 -06:00
parent aeca4df693
commit d4fc3ed354
4 changed files with 37 additions and 6 deletions

View file

@ -58,10 +58,7 @@
} %>
</head>
<body
style="height: 100%; margin: 0;"
data-vector-recorder-worklet-script="<%= htmlWebpackPlugin.files.js.find(entry => entry.includes("recorder-worklet.js")) %>"
>
<body style="height: 100%; margin: 0;">
<noscript>Sorry, Element requires JavaScript to be enabled.</noscript> <!-- TODO: Translate this? -->
<section id="matrixchat" style="height: 100%;" class="notranslate"></section>
<script src="<%= htmlWebpackPlugin.files.js.find(entry => entry.includes("bundle.js")) %>"></script>