HeHStudy / redcap

Redcap v4.15.2 for HeH Application.
0 stars 0 forks source link

Add heartbeat audio files for Palpitations survey #25

Closed tparsnick closed 11 years ago

tparsnick commented 11 years ago

@julianagle @kimburgia The following files are being added to dev audio/Extra_Beat.mp3 audio/IrregIrreg.mp3 audio/Regular_Normal_Heart_Beat.mp3 audio/Skipped_Beat.mp3 audio/Tachycardia_Regular.mp3

Implemented on https://redcap-dev.health-eheartstudy.org/surveys/?s=PJm4ae

tparsnick commented 11 years ago

@julianagle @kimburgia The audio should work now. They had not been pulled from github yet. My mistake :(

In the future, if you ever want to check if a particular audio file is on the web server, you can try something like https://redcap-dev.health-eheartstudy.org/surveys/audio/Extra_Beat.mp3

If you get file not found then you will know it is not there yet.

julianagle commented 11 years ago

Works great now. Thanks!

tparsnick commented 11 years ago

ur welcome


From: julianagle [mailto:notifications@github.com] Sent: Thursday, February 07, 2013 11:26 AM To: UCSF-DMG/redcap Cc: Parsnick, Todd Subject: Re: [redcap] Add heartbeat audio files for Palpitations survey (#25)

Works great now. Thanks!

Reply to this email directly or view it on GitHub https://github.com/UCSF-DMG/redcap/issues/25#issuecomment-13254632 .

https://github.com/notifications/beacon/J6T91GIPIyhU-8ti4GCGPxEcyd7MW9V I-WXgrVepHjwn4MBkhpDcv82Ymxk-1sXt.gif

julianagle commented 11 years ago

@tparsnick can you make these not loop? per Jeff's request.

tparsnick commented 11 years ago

@julianagle @olgin I'm not positive I know what you mean by "looping", but I have noticed that the yahoo media player continues playing after it finishes one mp3. Each time you play an mp3 it gets added to a playlist, and the player automatically plays the next mp3 on its list. Seems like this might be fixed by examining http://webplayer.yahoo.com/docs/how-to-set-up/#customize. I will investigate.

olgin commented 11 years ago

Ahhh. That explains why it sounds different.

Sent from my iPhone (so please excuse brevity and typos).

On Feb 7, 2013, at 12:41 PM, "tparsnick" notifications@github.com<mailto:notifications@github.com> wrote:

@julianaglehttps://github.com/julianagle @olginhttps://github.com/olgin I'm not positive I know what you mean by "looping", but I have noticed that the yahoo media player continues playing after it finishes one mp3. Each time you play an mp3 it gets added to a playlist, and the player automatically plays the next mp3 on its list. Seems like this might be fixed by examining http://webplayer.yahoo.com/docs/how-to-set-up/#customize. I will investigate.

— Reply to this email directly or view it on GitHubhttps://github.com/UCSF-DMG/redcap/issues/25#issuecomment-13258429.

tparsnick commented 11 years ago

@julianagle I just fixed an issue with yahoo media player. I wanted to make the image that appears in the yahoomediaplayer to be blank or the study logo, so as to avoid user confusion (a play image that doesn't work is confusing). Right now I used a spacer. To make this work you have to insert another image in front of the play image like so:

Regular rhythm <a href="audio/Regular_Normal_Heart_Beat.mp3">
<img src="images/spacer.gif" style="display:none" />
<img src="images/play_gray.png" style="vertical-align: middle"  /></a>

Make sure the html code is one continuous string without any spaces or newlines inbetween. I fixed all the audio links in the palpitations survey at https://redcap-dev.health-eheartstudy.org/surveys/?s=PJm4ae. If Chris sends me a study logo for this, however, they may need to be updated in the future...replacing the spacer with the study logo.

olgin commented 11 years ago

Here are the logos if you want them…they are also in DropBox>>Website>>>CYDesign>>>Logo

From: tparsnick notifications@github.com<mailto:notifications@github.com> Reply-To: UCSF-DMG/redcap reply@reply.github.com<mailto:reply@reply.github.com> Date: Friday, February 8, 2013 12:48 PM To: UCSF-DMG/redcap redcap@noreply.github.com<mailto:redcap@noreply.github.com> Cc: Jeffrey Olgin olgin@medicine.ucsf.edu<mailto:olgin@medicine.ucsf.edu> Subject: Re: [redcap] Add heartbeat audio files for Palpitations survey (#25)

@julianaglehttps://github.com/julianagle I just fixed an issue with yahoo media player. I wanted to make the image that appears in the yahoomediaplayer to be blank or the study logo, so as to avoid user confusion (a play image that doesn't work is confusing). Right now I used a spacer. To make this work you have to insert another image in front of the play image like so:

Regular rhythm

I fixed all the audio links in the palpitations survey at https://redcap-dev.health-eheartstudy.org/surveys/?s=PJm4ae. If Chris sends me a study logo for this, however, they may need to be updated in the future...replacing the spacer with the study logo.

— Reply to this email directly or view it on GitHubhttps://github.com/UCSF-DMG/redcap/issues/25#issuecomment-13310487..