Skip to content

Commit

Permalink
adding audio/wav
Browse files Browse the repository at this point in the history
IE is the only browser left that can't handle wav
  • Loading branch information
qqmyers authored Mar 4, 2020
1 parent a56a486 commit 88b45d6
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,26 @@ You should be able to cut/paste any/all of the commands below to run on your Dat
> \\"contentType\\":\\"audio/mp3\\"
>}"
>curl -X POST -H 'Content-type: application/json' http://localhost:8080/api/admin/externalTools -d \\
>"{
> \\"displayName\\":\\"Play Audio\\",
> \\"description\\":\\"Listen to an audio file.\\",
> \\"scope\\":\\"file\\",
> \\"type\\":\\"explore\\",
> \\"hasPreviewMode\\":\\"true\\",
> \\"toolUrl\\":\\"https://globaldataversecommunityconsortium.github.io/dataverse-previewers/previewers/AudioPreview.html\",
> \\"toolParameters\\": {
> \\"queryParameters\\":[
> {\\"fileid\\":\\"{fileId}\\"},
> {\\"siteUrl\\":\\"{siteUrl}\\"},
> {\\"key\\":\\"{apiToken}\\"},
> {\\"datasetid\\":\\"{datasetId}\\"},
> {\\"datasetversion\\":\\"{datasetVersion}\\"}
> ]
> },
> \\"contentType\\":\\"audio/wav\\"
>}"
>curl -X POST -H 'Content-type: application/json' http://localhost:8080/api/admin/externalTools -d \\
>"{
> \\"displayName\\":\\"Play Audio\\",
Expand Down

0 comments on commit 88b45d6

Please sign in to comment.