Wish [BANano] Audio player

Discussion in 'B4J Bugs & Wishlist' started by GanjaKyp, Apr 17, 2019.

  1. GanjaKyp

    GanjaKyp Member

    joulongleu likes this.
  2. Kiffi

    Kiffi Well-Known Member Licensed User

    just a little help for getting started:

    Sub Process_Globals
    Private BANano As BANano
    End Sub

    Sub AppStart(Form1 As Form, Args() As String)

        BANano.UseServiceWorker = 
        BANano.Header.Title = 


    "C:\inetpub\wwwroot\BANano\"' <- adjust to your own needs!


    End Sub

    Sub BANanoHowler_Ready()

    Dim cmdPlay As BANanoElement = BANano.GetElement("body").Append($"<button id="cmdPlay">Play</play>"$).Get("#cmdPlay")

    "click", Me, "cmdplay_click")
    End Sub

    Sub cmdPlay_Click(BE As BANanoEvent)

    Dim sound As BANanoObject
    "Howl", CreateMap("src""http://rfcmedia.streamguys1.com/MusicPulse.mp3""html5"True))

    End Sub
    Greetings ... Peter (Not responsible for the quality of the music ;))
    joulongleu and alwaysbusy like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice