mirror of
https://github.com/nextcloud/server.git
synced 2026-03-23 19:03:20 -04:00
Fix the audio player
If we don't use the ".php" extension the audio won't play because it cant find the file. Signed-off-by: Artur Duque de Souza <asouza@kde.org>
This commit is contained in:
parent
1fd39a52fa
commit
09cbe1301e
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
OC_AudioPlayer = new Object();
|
||||
|
||||
OC_AudioPlayer.playAudio = function(dir, file, type) {
|
||||
var path = WEBROOT + '/files/api?action=get&dir='+encodeURIComponent(dir)+'&file='+encodeURIComponent(file);
|
||||
var path = WEBROOT + '/files/api.php?action=get&dir='+encodeURIComponent(dir)+'&file='+encodeURIComponent(file);
|
||||
|
||||
OC_AudioPlayer.audioFrame = document.createElement('div');
|
||||
OC_AudioPlayer.audioFrame.setAttribute('id', 'audioframe');
|
||||
|
|
|
|||
Loading…
Reference in a new issue