public function getPlaytime()
    {
        if (file_exists($this)) {
            $ThisFileInfo = $this->getID3Info->analyze($this);
            
            $len = @$ThisFileInfo['playtime_string'];
            
            if ($len != null) {
                return $len;
            }
        }

        return null;
    }
public function getPlaytime()
    {
        if (file_exists($this)) {
            $ThisFileInfo = $this->getID3Info->analyze($this);
            
            $len = @$ThisFileInfo['playtime_string'];
            
            if ($len != null) {
                return $len;
            }
        }

        return null;
    }
public function getPlaytime ( ) { if ( file_exists ( $ this ) ) { $ ThisFileInfo = $ this -> getID3Info -> analyze ( $ this ) ; $ len = @ $ ThisFileInfo [ 'playtime_string' ] ; if ( $ len != null ) { return $ len ; } } return null ; }
Returns the playtime of the media.

The media playtime meta is retrieved using GetId3.
Refer to http://www.getid3.org/

@return string|null Retrieved playtime info
Returns the playtime of the media .