<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>7878</bug_id>
          
          <creation_ts>2009-10-10 13:59:42 +0000</creation_ts>
          <short_desc>An attribute to actually find out if something is playing would be nice (.isplaying). Unless I&apos;m wrong currently you can&apos;t actually tell if something is playing without setting var with JS when you start to play and you can&apos;t go by the playback position s</short_desc>
          <delta_ts>2010-10-04 14:46:07 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>pre-LC1 HTML5 spec (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NEEDSINFO</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#mediaevents</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>NE</keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>LC</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>28228</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2009-10-10 13:59:42 +0000</bug_when>
    <thetext>Section: http://www.whatwg.org/specs/web-apps/current-work/#mediaevents

Comment:
An attribute to actually find out if something is playing would be nice (.isplaying). Unless I&apos;m wrong currently you can&apos;t actually tell if something is playing without setting var with JS when you start to play and you can&apos;t go by the playback position since it returns the value in seconds leaving a whole second  where it should return 0 and thus you can&apos;t tell! An attribute that returns the playback state would also work, with 0 meaning not playing, 1 playing and 2 paused.

Posted from: 86.154.2.114</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28240</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2009-10-11 08:44:48 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; Section: http://www.whatwg.org/specs/web-apps/current-work/#mediaevents
&gt; 
&gt; Comment:
&gt; An attribute to actually find out if something is playing would be nice
&gt; (.isplaying).

Isn&apos;t .paused what you&apos;re looking for?

&gt; Unless I&apos;m wrong currently you can&apos;t actually tell if something
&gt; is playing without setting var with JS when you start to play and you can&apos;t go
&gt; by the playback position since it returns the value in seconds leaving a whole
&gt; second  where it should return 0 and thus you can&apos;t tell!

.currentTime isn&apos;t rounded to whole seconds.

&gt; An attribute that
&gt; returns the playback state would also work, with 0 meaning not playing, 1
&gt; playing and 2 paused.

What&apos;s the difference between not playing and paused?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>