Ignore:
Timestamp:
2021-09-21T14:36:58+12:00 (3 years ago)
Author:
cstephen
Message:

Create AudioPlaybackModule

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-interfaces-dev/atea/korero-maori-asr/src/components/TranscriptionItem.vue

    r35439 r35445  
    33        <!-- Header containing info and actions for the transcription -->
    44        <div class="transcription__header">
    5             <button class="btn-fab" v-on:click="playAudio(0)" type="button" title="Play Audio">
    6                 <span class="material-icons mdi-l">play_arrow</span>
     5            <button class="btn-fab" v-on:click="playAudio(-1)" type="button" title="Play Audio">
     6                <span class="material-icons mdi-l play-button" v-if="!isPlaying">play_arrow</span>
     7                <span class="material-icons mdi-l play-button" v-if="isPlaying">pause</span>
    78            </button>
    89
     
    113114    },
    114115    computed: mapState({
    115         translations: state => state.translations
     116        translations: state => state.translations,
     117        isPlaying: state => state.playbackState.isPlaying
    116118    }),
    117119    methods: {
Note: See TracChangeset for help on using the changeset viewer.