Play .OGG sound files by URL hosted on a server

Get help using Construct 2

Post » Thu Jul 23, 2015 6:24 pm

Hi community and @ashley,

I am working on a project with thousands of .OGG audio files hosted on a server that need to be played on cue when triggered through a C2 project..

My question is the following, if i wanted to play an .OGG located on a server, how can i play the file within C2? How can i achieve this by using the AJAX object to retrieve the URL of the audio file from an XML file and then play back from within C2?.

If anyone can help the community can certainly benefit as I have seen multiple users ask a similar questions on the forums with no clear response.
B
107
S
20
G
8
Posts: 155
Reputation: 11,741

Post » Sun Aug 16, 2015 3:23 am

viewtopic.php?f=183&t=150385&p=953630

This will work for you.
Image
B
54
S
12
G
2
Posts: 259
Reputation: 5,066


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 29 guests