[Lib] VideoView Mute And UnMute Audio(VideoView In Audio Lib)

[Lib] VideoView Mute And UnMute Audio(VideoView In Audio Lib)

Note: This Lib Need Reflection Library
Hi guys,
there’s a VideoView within the audio library that doesn’t have a mute mode. I attempted to repair it. I hope it’s helpful.

How To Use:


Example:


    Dim vv As VideoView
    vv.Initialize("vv")
    Activity.AddView(vv, 10dip, 10dip, 250dip, 250dip)
    vv.LoadVideo(File.DirRootExternal, "somefile.mp4")
    vv.Play
    
    Dim KVM As KDB_VV_Mute
    KVM.MuteVideo(VV)   '   Or KVM.UnMuteVideo(VV)

HI-FI News

by way of B4X Programming Forum https://ift.tt/oJMhjQe

May 20, 2025 at 08:48AM