- plugin id corrected

- ogg files also get the play action added to their context menu
This commit is contained in:
ente 2010-12-05 12:18:40 +01:00
parent fd0e0d675e
commit 087a72f0ef
2 changed files with 5 additions and 2 deletions

View file

@ -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;

View file

@ -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>