Skip to content

Commit

Permalink
Testing large audio file
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyVerbruggen committed Mar 13, 2014
1 parent e124509 commit 39ef96e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
<gap:plugin name="org.apache.cordova.media" />
<gap:plugin name="org.apache.cordova.inappbrowser" />

<gap:plugin name="io.github.pwlin.cordova.plugins.fileopener2" />



<preference name="phonegap-version"/>
<preference name="orientation" value="portrait" />
Expand Down
5 changes: 4 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ <h1>Plugins Demo</h1>
<button onclick="changeWebViewColor()">Make webview background green (iOS)</button>
<button onclick="testAudioPlayer(false)">Test Cordova audio player, 6 MB</button>
<button onclick="testAudioPlayer(true)">Test Cordova audio player, 73 MB</button>
<button onclick="window.open('http://www.x-services.nl/mindfullness-test-large.mp3', '_system')">Test native audio player, 73 MB</button>
<button onclick="cordova.plugins.fileOpener2.open('http://www.x-services.nl/mindfullness-test-large.mp3',null)">Test native audio (fileopener2)</button>
<button onclick="window.open('http://www.x-services.nl/mindfullness-test-large.mp3', '_self')">Test native audio player (webview)</button>
<button onclick="window.open('http://www.x-services.nl/mindfullness-test-large.mp3', '_blank')">Test native audio player (inappbr)</button>
<button onclick="window.open('http://www.x-services.nl/mindfullness-test-large.mp3', '_system')">Test native audio player (extern)</button>
<input id="test" name="test" type="text" width="10" placeholder="test"/>
</p>
<p>
Expand Down

0 comments on commit 39ef96e

Please sign in to comment.