- plugin id corrected
- ogg files also get the play action added to their context menu
This commit is contained in:
parent
fd0e0d675e
commit
087a72f0ef
2 changed files with 5 additions and 2 deletions
|
@ -52,6 +52,9 @@ if(!OC_FILES.fileActions.applicationogg){
|
||||||
OC_FILES.fileActions.audio.play = function() {
|
OC_FILES.fileActions.audio.play = function() {
|
||||||
OC_AudioPlayer.playAudio(this.dir, this.file, this.mime);
|
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.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;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<plugin version='1.0'>
|
<plugin version='1.0'>
|
||||||
<info>
|
<info>
|
||||||
<id>musicplayer</id>
|
<id>audioplayer</id>
|
||||||
<name>A simple HTML5 based audio player for ownCloud</name>
|
<name>A simple HTML5 based audio player for ownCloud</name>
|
||||||
<version>0.1</version>
|
<version>0.1</version>
|
||||||
<licence>AGPL</licence>
|
<licence>AGPL</licence>
|
||||||
|
|
Loading…
Reference in a new issue