meedan / montage-components

Monorepo of components for Montage
https://montage.meedan.com
0 stars 0 forks source link

Provide playback speed control #92

Open infojunkie opened 5 years ago

infojunkie commented 5 years ago

Would be great to allow slowing down playback (while preserving pitch) for greater accuracy in transcription, or to help real-time transcribers / translators.

maboa commented 5 years ago

This can definitely be done using playbackRate https://developer.mozilla.org/en-US/docs/Web/Guide/Audio_and_video_delivery/WebAudio_playbackRate_explained

infojunkie commented 5 years ago

Thanks - I was asking at the feature level if it makes sense and would be useful.

Technically, since we're dealing with YT API, we need to look here https://developers.google.com/youtube/iframe_api_reference#getAvailablePlaybackRates

I do agree that in the longer term, we will want to support non-YT videos and modeling our cross-platform video API after standard Web APIs will be the best way forward.

Laurian commented 5 years ago

You already have the speed control working in the embedded YT video, also we already have in redux model the available playback rates and the current playback rate, but YT already have the UI.

For non-yt players as long as the player has the control we might not need to present an additional UI.