Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Enter the 2020.2 Beta Sweepstakes for a chance to win an Oculus Quest 2.
    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:
    21
    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 :)
     
unityunity