Play/pause button for audio

39 views
Skip to first unread message

greg...@sunyit.edu

unread,
Apr 16, 2016, 4:53:56 PM4/16/16
to TiddlyWiki
I'm working on a project for a Hypertext class, and I have an audio file that I'd like the listener to be able to play by clicking on a single "play/pause" button. I don't want the audio file to be visible. I'm not sure how to do this- any help would be appreciated!

So far I have

<$button set="$:/state/SampleReveal1" setTo="show">Show Audio</$button>
<$button set="$:/state/SampleReveal1" setTo="hide">Hide Audio</$button>
<$reveal type="match" state="$:/state/SampleReveal1" text="show">
{{!!pronunciation}}
</$reveal>

And in the "pronunciation" field
Thanks!
Kira
Reply all
Reply to author
Forward
0 new messages