Forum
    • Categories
    • Register
    • Login

    Webview cant find index file.....Help please.

    Scheduled Pinned Locked Moved Solved Scripting
    11 Posts 3 Posters 112 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • dannytaurusD
      dannytaurus @Chazrox
      last edited by dannytaurus

      @Chazrox Quick thought - does it actually need the slash after {PROJECT_FOLDER}? I thought that variable includes the slash.

      Have you tried no slash?

      "{PROJECT_FOLDER}Images/untitled/index.html"

      I would imagine the parser collapses multiple slashes, but you never know.

      Meat Beats: https://meatbeats.com
      Klippr Video: https://klippr.video

      1 Reply Last reply Reply Quote 0
      • dannytaurusD
        dannytaurus @Chazrox
        last edited by

        @Chazrox Also, this from the docs might apply:

        If you want to load images, you will most likely use files from the Images subdirectory. HISE is smart enough to assume this too. This means you can (and must) omit Images/ from the path string.

        https://docs.hise.dev/working-with-hise/project-management/index.html

        Meat Beats: https://meatbeats.com
        Klippr Video: https://klippr.video

        ChazroxC 2 Replies Last reply Reply Quote 0
        • ChazroxC
          Chazrox @dannytaurus
          last edited by

          @dannytaurus I got it to load. 🙏 Im just trying to figure out how to get the button to trigger what 'Enter' with a button press for the webview. Try this snippet if you have a minute, and press 'Enter'.

          HiseSnippet 1449.3oc2X8taaaCDmJIpa1csqcnXXeTvX.yYHvwN+qsnXnNwItynModwtoC6KszRTVbQhTijJIFCEnOZ6QXOJ8MX6HkjsbpcVlw5v5bPBBOd+38i2c7tKoqf6RjRt.YUt+nXBx5yr6MhoBZEfoLTm8QV2xtWbHkQb5SjJzdihwRIwCYYs7SzpXUZEj4y6d7d3PLykLQDBcBm5RdFMhplHsaymRCCai8H8oQEzdqlcb4rV7PdBPmksqihwtmhGRNBqUaIaz2ikAHqu0diM7ceP85OXyM2tNFuoGFuUCxlOj3uiu610eXcuAaWG9ZGj0MNvip3hdJrhHQVqrG2aTu.94rTCbBURGDRzKZf5AVNUbadnm9Jpkh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+C.GylJ5V1G36C8MmPvUra+ieXFApn4ucp4uocOnNso6iw3eoYsyKwP6xm.s5DZmWiqXj1e+5NRa70dj1m6p.y2WfYxXtbpCtGIh1GR4kEE9BILCF4WNVGMKJuEGKl4Vu6wPm3YioGVkHLoE6FwSXpoRCV9plTdtEdm9EQA8mwLpq7etwl+H3k+TS1WJmi8nQwgjCXvLCPWBCG+BnsfONITkKc5D6C4Ldb.mQcKF0OlnDzgCIhhbelWncUJXZhIRtWyigoBwEyf+5lOCx7vBvOQVPeQi+1+UNyLd8U1oz0Q+Zz4i2J1K++6J1GySzy.eHFRB0ciOJIpGTnzk.VmwHgx7NzYqqqWmVoj4YV7GvmrMajORhdyF4a9uhMhvtB9qbSGBTmm9oFIv8lY9OWTx9P8ZmYL5XDTk6UttSeTuGvMVTfatn.2ZQAt8hBbmEE38WTfO3uFntIztIJdT5SSD5vtGXlS2x5.yvvlWDn+jpUnFM
          
          dannytaurusD 1 Reply Last reply Reply Quote 0
          • ChazroxC
            Chazrox @dannytaurus
            last edited by Chazrox

            @dannytaurus
            woah. This is gonna be fun!

            Screen Recording 2025-12-12 at 4.18.48 AM.mov

            dannytaurusD VirtualVirginV 2 Replies Last reply Reply Quote 1
            • ChazroxC Chazrox has marked this topic as solved
            • dannytaurusD
              dannytaurus @Chazrox
              last edited by

              @Chazrox Sweeeeeettt!

              Meat Beats: https://meatbeats.com
              Klippr Video: https://klippr.video

              1 Reply Last reply Reply Quote 0
              • VirtualVirginV
                VirtualVirgin @Chazrox
                last edited by

                @Chazrox Nice! I've been looking into the WebView recently and I'm preparing to put it into my projects.

                You can listen to my orchestral mockups here:
                https://www.virtualvirgin.net/
                I have a Git repo here:
                https://github.com/craig-van-hise

                ChazroxC 1 Reply Last reply Reply Quote 0
                • ChazroxC
                  Chazrox @VirtualVirgin
                  last edited by

                  @VirtualVirgin What are you using to create your web UI? I just found Spline and it lets you create all these 2D/3D shapes and events and create variables for which we can read/write to in Hise. Interesting thing I want to learn about webview is the api's and webooks for some extracurricular activities lol Im learning about that rn, I'll post something back on this thread when I figure something out.

                  1 Reply Last reply Reply Quote 0
                  • dannytaurusD
                    dannytaurus @Chazrox
                    last edited by dannytaurus

                    @Chazrox said in Webview cant find index file.....Help please.:

                    @dannytaurus I got it to load

                    How did you get it to load by the way?

                    EDIT: found it in your snippet:

                    const var f = FileSystem.getFolder(FileSystem.AudioFiles).getParentDirectory().getChildFile("Images/untitled/index.html");
                    

                    Meat Beats: https://meatbeats.com
                    Klippr Video: https://klippr.video

                    ChazroxC 1 Reply Last reply Reply Quote 0
                    • ChazroxC
                      Chazrox @dannytaurus
                      last edited by Chazrox

                      @dannytaurus I found the example from the tutorials and just swapped the file honestly. I had to learn how to hook up the button to trigger the animations on the webview with some help from gpt.

                      I found an app called Spline and it lets you make shapes and animations with variables that you can hook up to stuff. This is all brand new to me but im slowly getting it. Have you heard of Spline or do you use something equal or better?

                      dannytaurusD 1 Reply Last reply Reply Quote 0
                      • dannytaurusD
                        dannytaurus @Chazrox
                        last edited by

                        @Chazrox I'm only using a WebView for some simple credits text at the moment. See here: https://forum.hise.audio/post/114297

                        I have a pretty solid HTML/CSS background so it's a very easy fallback for me, but it still feels weird using HTML/CSS in a plugin! 😂

                        Meat Beats: https://meatbeats.com
                        Klippr Video: https://klippr.video

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        42

                        Online

                        2.1k

                        Users

                        13.0k

                        Topics

                        113.1k

                        Posts