Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Play a sound from the GDC and GBC  (Read 4892 times)
Shawn D.
Posts: 1


« on: February 12, 2019, 06:06:09 pm »

Hi Everyone,
We are attempting to play a sound on an INPUT array in the after field. I have been able to play the sound from the GDC using a direct connection(SSH). We copy the file from the server to the GDC dataDirectory and then pass the path and name to the ui.Interface.frontCall("standard", "playSound",[l_file], []) and this works great!

We also have to account for GBC and we use the ui.Interface.filenameToURI(l_file) to get a http path to the file and this works in the GBC.

Where we are having an issue is playing a sound in the GDC when using a HTTP connection. I have tried passing a URI, full path, just a file name and it keeps coming back with the same error of
"FORMS statement error number -6333. Front end function call failed. Reason:Cannot find file /usr2/vdxfiles/apache2/share/htdocs/tmp/shooting_star-Mike_Koenig-1132888100.mp3"
OR
"FORMS statement error number -6333. Front end function call failed. Reason:Cannot find file https://<servername>:<port>/webrms/ua/ft/fdfa98763481ae39edb3975ade45ee08/fgl-files/14591/shooting_star-Mike_Koenig-1132888100.mp3?t=1549984613"

Anyone else have this working?
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines