Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Sara / Checked play promise #3487

Merged
merged 9 commits into from
Dec 22, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added crossorigin to audio file
  • Loading branch information
sara-fs committed Dec 13, 2021
commit d8d759d25b4a8d0b359a41adc07cd8ea284ea6cf
2 changes: 1 addition & 1 deletion src/botPage/view/blockly/customBlockly.js
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ Blockly.WorkspaceAudio.prototype.preload = function() {
for (var name in this.SOUNDS_) {
var sound = this.SOUNDS_[name];
sound.volume = 0.01;

sound.crossorigin = '';
// A play() call on an a <video> or <audio> element now returns a Promise
// in Chrome/Chromium browsers starting from v50 which raise an issue and the following
// solution is accotding to:
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy