aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorente <ente@baer.rwth-aachen.de>2010-12-05 12:18:40 +0100
committerente <ente@baer.rwth-aachen.de>2010-12-05 12:18:40 +0100
commit087a72f0efea85fd0ec7efd1d42a4fda6497abca (patch)
tree3b0f30679cdf4f565121113eda72ca45aae42747
parentfd0e0d675e981396c436c7b65a27dabacaac357e (diff)
downloadnextcloud-server-087a72f0efea85fd0ec7efd1d42a4fda6497abca.tar.gz
nextcloud-server-087a72f0efea85fd0ec7efd1d42a4fda6497abca.zip
- plugin id corrected
- ogg files also get the play action added to their context menu
-rw-r--r--plugins/audioplayer/audioplayer.js5
-rw-r--r--plugins/audioplayer/plugin.xml2
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>