# Pausing FMOD Channel With Video Playback

**URL:** <https://qa.fmod.com/t/pausing-fmod-channel-with-video-playback/21788>\
**Category:** Unity\
**Created:** [June 20, 2024, 3:17pm UTC](https://qa.fmod.com/t/pausing-fmod-channel-with-video-playback/21788 "2024-06-20T15:17:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![OrionsNebula](https://avatars.discourse-cdn.com/v4/letter/o/ec9cab/32.png) [@OrionsNebula](https://qa.fmod.com/u/OrionsNebula)\
**Post date:** [June 20, 2024, 3:17pm UTC](https://qa.fmod.com/t/pausing-fmod-channel-with-video-playback/21788/1 "2024-06-20T15:17:03Z")

</div>

I am using Unity’s VideoPlayer component to display a video, while playing the audio for said video through an FMOD channel using the ScriptUsageVideoPlayback component found here: [https://fmod.com/docs/2.02/unity/examples-video-playback.html](https://fmod.com/docs/2.02/unity/examples-video-playback.html)

However, I am finding that in specific cases the audio playback does not pause when the video pauses (it does however stay in sync with the video, and so produces garbled audio that just keeps looping on the same frame)

What would be the best way to force the fmod audio channel to pause when the video does?

I’ve tried muting the channel when the applications focus has been lost, however there are still cases when the audio doesn’t pause, for example when “background” the app on iOS, or when dragging the game window around in the Unity Editor.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [June 27, 2024, 12:28am UTC](https://qa.fmod.com/t/pausing-fmod-channel-with-video-playback/21788/2 "2024-06-27T00:28:01Z")

</div>

In that example script, the only time `setPaused` is called is when the `VideoEnded` is called. Depending on how the video gets paused you could make a function that handles pausing/resuming, calling `mChannel.setPaused(true/false)`, and call it when the video is paused/resumed.
