Skip to content

Instantly share code, notes, and snippets.

@GiriAakula
Last active June 17, 2022 07:24
Show Gist options
  • Save GiriAakula/f8e1c7b155920fbf5a5c943714ec768a to your computer and use it in GitHub Desktop.
Save GiriAakula/f8e1c7b155920fbf5a5c943714ec768a to your computer and use it in GitHub Desktop.
Tap To Unmute Flow chart - Vidgyor
if(tap === true)
  if(autoplay === true)
      if(mute === true)
        Video will play with taptounmute, with autoplay and with mute
        
        
if(tap === true)
  if(autoplay === true)
      if(mute === false)
        Video will play with taptounmute, with autoplay and with mute
        Note: Mute option overriden by taptounmute
        
if(tap === true)
  if(autoplay === false)
      if(mute === false)
        Video will play without taptounmute, without autoplay and without mute
        Note: taptounmute option is overriden by autoplay   
        
        
if(tap === true)
  if(autoplay === false)
      if(mute === true)
        Video will play without taptounmute, without autoplay and with mute
        Note: taptounmute option is overriden by autoplay  
        
if(tap === false)
  if(autoplay === false)
      if(mute === false)
        Video will play without taptounmute, without autoplay and without mute
        
        
if(tap === false)
  if(autoplay === true)
      if(mute === true)
        Video will play without taptounmute, with autoplay and with mute
        
 if(tap === false)
  if(autoplay === true)
      if(mute === false)
        Video will play without taptounmute, with autoplay and without mute
        
        
 if(tap === false)
  if(autoplay === true)
      if(mute === true)
        Video will play without taptounmute, with autoplay and with mute

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment