Search Unity

  1. Unity 2019.2 is now released.
    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:
    13
    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:
    20
    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 :)