Re: [Gnoga-list] Specifying Source for Audio_Type

2017-09-17 Thread David Botton
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

Re: [Gnoga-list] Specifying Source for Audio_Type

2017-09-17 Thread Jeffrey R. Carter
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

Re: [Gnoga-list] Specifying Source for Audio_Type

2017-09-15 Thread Jeremiah Breeden
I tried this on windows and I couldn't even get it to play in the gpr or executable directory (the base directory). I tried with both firefox and IE. On Fri, Sep 15, 2017 at 8:00 AM, Jeffrey R. Carter wrote: > I have this tiny Gnoga app: > > with Ada.Exceptions; > > with

[Gnoga-list] Specifying Source for Audio_Type

2017-09-15 Thread Jeffrey R. Carter
I have this tiny Gnoga app: with Ada.Exceptions; with Gnoga.Application.Singleton; with Gnoga.Gui.Base; with Gnoga.Gui.Element.Common; with Gnoga.Gui.Element.Multimedia; with Gnoga.Gui.View; with Gnoga.Gui.Window; package body MP.UI is Window : Gnoga.Gui.Window.Window_Type; View :