From 087a72f0efea85fd0ec7efd1d42a4fda6497abca Mon Sep 17 00:00:00 2001 From: ente Date: Sun, 5 Dec 2010 12:18:40 +0100 Subject: - plugin id corrected - ogg files also get the play action added to their context menu --- plugins/audioplayer/audioplayer.js | 5 ++++- 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 @@ - musicplayer + audioplayer A simple HTML5 based audio player for ownCloud 0.1 AGPL -- cgit v1.2.3