diff options
-rw-r--r-- | plugins/audioplayer/audioplayer.js | 5 | ||||
-rw-r--r-- | plugins/audioplayer/plugin.xml | 2 |
2 files changed, 5 insertions, 2 deletions
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 @@ <?xml version="1.0"?> <plugin version='1.0'> <info> - <id>musicplayer</id> + <id>audioplayer</id> <name>A simple HTML5 based audio player for ownCloud</name> <version>0.1</version> <licence>AGPL</licence> |