# FLVPlayback - isPlaying function

**URL:** https://forum.kirupa.com/t/flvplayback-isplaying-function/302691
**Category:** flash
**Created:** [January 6, 2010, 1:42am UTC](https://forum.kirupa.com/t/flvplayback-isplaying-function/302691 "2010-01-06T01:42:58Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![noynek](https://avatars.discourse-cdn.com/v4/letter/n/ecae2f/32.png) [@noynek](https://forum.kirupa.com/u/noynek)
#### Post date: [January 6, 2010, 1:42am UTC](https://forum.kirupa.com/t/flvplayback-isplaying-function/302691/1 "2010-01-06T01:42:58Z")

</div>

I need to tell whether my FLVPlayback instance is playing or not. The obvious thing seemed to be VideoState property. However it returns all of the following:

[VideoState.DISCONNECTED](http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/video/VideoState.html#DISCONNECTED)  
[VideoState.STOPPED](http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/video/VideoState.html#STOPPED)  
[VideoState.PLAYING](http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/video/VideoState.html#PLAYING)  
[VideoState.PAUSED](http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/video/VideoState.html#PAUSED)  
[VideoState.BUFFERING](http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/video/VideoState.html#BUFFERING)  
[VideoState.LOADING](http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/video/VideoState.html#LOADING)  
[VideoState.CONNECTION\_ERROR](http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/video/VideoState.html#CONNECTION_ERROR)  
[VideoState.REWINDING](http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/video/VideoState.html#REWINDING)  
[VideoState.SEEKING](http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/video/VideoState.html#SEEKING)

The problem is that I’m seeing BUFFERING and PLAYING overlap so this isn’t reliable. How else can I tell if a video is playing?
