Skip to content

Commit 0fbfc97

Browse files
committed
Fix sound in pencilcode gym jam.
1 parent e097619 commit 0fbfc97

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

content/lib/pencilcodeembed.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@
164164
this.iframe = document.createElement('iframe');
165165
this.iframe.style.width = '100%';
166166
this.iframe.style.height = '100%';
167+
this.iframe.setAttribute('allow', 'autoplay');
167168
this.div.appendChild(this.iframe);
168169

169170
this.updatedCode = code;

0 commit comments

Comments
 (0)