diff --git a/plugins/audioplayer/audioplayer.js b/plugins/audioplayer/audioplayer.js index 82fe2966a3b..c58058b5696 100644 --- a/plugins/audioplayer/audioplayer.js +++ b/plugins/audioplayer/audioplayer.js @@ -52,6 +52,9 @@ if(!OC_FILES.fileActions.applicationogg){ OC_FILES.fileActions.audio.play = function() { OC_AudioPlayer.playAudio(this.dir, this.file, this.mime); } +OC_FILES.fileActions.applicationogg.play = function() { + OC_AudioPlayer.playAudio(this.dir, this.file, this.mime); +} OC_FILES.fileActions.audio['default'] = OC_FILES.fileActions.audio.play; -OC_FILES.fileActions.applicationogg['default'] = OC_FILES.fileActions.audio.play; +OC_FILES.fileActions.applicationogg['default'] = OC_FILES.fileActions.applicationogg.play; diff --git a/plugins/audioplayer/plugin.xml b/plugins/audioplayer/plugin.xml index ea440eab800..ea58af245ec 100644 --- a/plugins/audioplayer/plugin.xml +++ b/plugins/audioplayer/plugin.xml @@ -1,7 +1,7 @@ - musicplayer + audioplayer A simple HTML5 based audio player for ownCloud 0.1 AGPL