The browser generally only has access to files you can serve (although if
running local in theory file:// should work but ymmv), ie in your app
directory. Your app though using normal Ada code has access as usual to
everything. You could copy the file into the html directory play it and
then clear it.
On Sun, Sep 17, 2017 at 4:49 AM Jeffrey R. Carter <jrcar...@acm.org> wrote:

> On 09/16/2017 11:13 AM, Pascal via Gnoga-list wrote:
> > Gnoga recognizes executable in bin directory and thus sets its root
> directory for relative paths.
>
> So the paths have to be relative to the executable root dir?
>
> I would like to be able to play an arbitrary file, possibly chosen through
> a file dialog.
>
> > Other paths have to be valid (work) in HTML before transpose in Gnoga
> environment.
>
> I thought the "file://<absolute path>" would do that, but it didn't work.
> What's the correct HTML way to represent an arbitrary path?
>
> --
> Jeff Carter
> "My little plum, I am like Robin Hood. I take from
> the rich, and I give to the poor. ... Us poor."
> Poppy
> 96
>
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Gnoga-list mailing list
> Gnoga-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gnoga-list
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list

Reply via email to