Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

How I quit the mute state to a video of VideoPlayer in Unity Tiny?

Discussion in 'Project Tiny' started by Rob_Elias, Jul 13, 2019.

  1. Rob_Elias

    Rob_Elias

    Joined:
    Mar 21, 2014
    Posts:
    15
    Hello community! I was created an entity with VideoClip and VideoPlayer to load a video from a URL but the video show in mute state at default. How I change that state to full volume? Thanks
     
  2. Nimdanet

    Nimdanet

    Joined:
    Jan 19, 2013
    Posts:
    38
    Hello!

    I developed a solution for mute state.

    There is the same solution as I did here . HTMLVideoElement has the property "muted".

    Just use like this:

    this.findHTMLVideoElement("Assets/SampleVideo.mp4").muted = false


    Hope this helps :)