Skip to content

Commit cb4bce7

Browse files
adding * to allow all sources to access the mobile phone hardware (#14)
1 parent c24cad6 commit cb4bce7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const createIframe = (url) => {
1616
frame.height = "100%";
1717
frame.allowUserMedia = true;
1818
frame.setAttribute("frameborder", "0");
19-
frame.setAttribute("allow", "geolocation; microphone; camera; accelerometer; gyroscope;");
19+
frame.setAttribute("allow", "geolocation *; microphone *; camera *; accelerometer *; gyroscope *;");
2020
app.appendChild(frame);
2121
};
2222

0 commit comments

Comments
 (0)