Home local drive audio use to codeigniter
Reply: 1

local drive audio use to codeigniter

Tamil
1#
Tamil Published in 2017-12-04 12:53:16Z

I use codeigniter and stored a lot of audio files on my local drive.

C:\XtendLogger\Waves\20171129 is my audio file path to the audio files i want to use. Therefore I tried the following code, but it doesn't work:

<audio src="C:\XtendLogger\Waves\20171129\Karuthavanlaam Galeejaam.mp3'" preload="auto" type="audio/mpeg" controls></audio>

I don't want store this audio file in my codeigniter assets folder.

Saberi
2#
Saberi Reply to 2017-12-04 13:44:11Z

You can simply play them using the audio class of javascript as bwlow:

var audio = new Audio('C:\XtendLogger\Waves\file_name');
audio.play();
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.309122 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO