Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How do I control sound with the Web Browser Widget?

So I am playing around with the Web Browser Widget, I made a Widget Blueprint where I added the Web Browser Widget and after that I made a Blueprint Actor Class so I could display the browser as a big screen in my game world. But I don't understand how I can control the audio from the screen when I am on sites as Youtube.

The sound will play at full volum where ever you are in the world and I was wondering if it is possible to make it so when you move away from the screen the audio will fade out until you are so far away you can't hear it?

Product Version: UE 4.12
more ▼

asked Jul 10 '16 at 02:07 AM in Blueprint Scripting

avatar image

16 1 2 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

3 answers: sort voted first

Did you get an answer to this ? - I'm looking to do the same thing ?

more ▼

answered Jan 24 '17 at 06:03 AM

avatar image

226 3 100 16

avatar image Canaha Jan 24 '17 at 11:14 AM

I never did, I tried my best to figure out how/if this was possible by myself but after a few weeks I gave up. Hope you have more luck than me regarding this! :)

avatar image sciacchetano Mar 17 '17 at 08:19 PM

I also can't find a solution :(

avatar image mngpssn Mar 17 '17 at 09:58 PM

You mean you want to enable click sounds?

avatar image DunkenKBliths Mar 20 '17 at 05:48 AM

NO..Need the Audio from the Website to come into the Unreal session !

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

When I open the web widget, I do get sound. I'm using a web widget inside a blueprint, so that it can be seen as a regular actor in VR. I'm trying to do the opposite: how to mute. The web widget C++ code doesn't have much in it to interact with the browser. The only thing available is a call for javascript. So it might be possible to turn on/off the web widget browser using the javascript call. Yet, the target URL would need to have a function to enable/disable sound for whatever player is being loaded. Its not a general function for the entire browser. At least, Chrome at the moment doesn't give access through its interface to mute other than using the mouse on the main google menu.

more ▼

answered Mar 31 '17 at 09:10 PM

avatar image

61 1 6 9

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

I also interested in this question/answer. I have a playable TV screen widget with youtube videos and a volume setting in the app. As the web browser is an experimental widget, unfortunately its possible we dont get a solution for UE4... +As there is no parameter for YT URL for volume, only solution can be write a javascript player and call that link from web browser widget, and setting volume by JS with player.setVolume(Number).

more ▼

answered Apr 28 '18 at 09:02 AM

avatar image

115 6 78 22

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question