auchenberg / vscode-browser-preview

A real browser preview inside your editor that you can debug.
MIT License
4.39k stars 153 forks source link

Enable Sound #140

Closed jockrow closed 3 years ago

jockrow commented 4 years ago

Can enable the sound, to example to use for google meeting or youtube?

auchenberg commented 4 years ago

I don't think this is supported via the current APIs we have available. Sadly. But let's keep it open.

ntindle commented 4 years ago

Would these two links help? https://github.com/mattogodoy/hacker-sounds https://github.com/wix-incubator/codio/blob/a8b0eb216fa4f6310494b8616d70a1dea507c59c/vscode/src/audio/Audio.ts#L39

they are two extensions for vscode that play sound

Love the extension btw

auchenberg commented 4 years ago

@ntindle Sadly not. We need a API over the Chrome DevTools Protocol that can gives us audio, which we then need to play inside VS Code.

ntindle commented 4 years ago

Looks like it would need to be filed here https://bugs.chromium.org/p/chromium/issues/list?q=component%3Aplatform%3EDevTools%3EPlatform&can=1&start=0

This seems useful outside of just this tool for doing headless testing of audio based tools such as elearning platforms

jockrow commented 4 years ago

Ok, I understand that don't is direct problem for you. Thank you for your attention

auchenberg commented 4 years ago

Let's keep this open as an upstream issue. We should aim for this, but need a Chromium API.

ntindle commented 4 years ago

@auchenberg did you open an issue upstream or shall I?

auchenberg commented 4 years ago

@ntindle If you have time it would be great!

ntindle commented 4 years ago

Last question on if this would help https://github.com/google/audion before I file it. I was browsing and found this from google

ntindle commented 3 years ago

I was unable to find time to open an issue upstream. I'm sorry for the late update but I had a question that was unanswered and it slipped my mind to follow up.

auchenberg commented 3 years ago

Already tracked in https://github.com/auchenberg/vscode-browser-preview/issues/31 so closing