Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 458803 of BlobEvent

  • Revision slug: Web/API/BlobEvent
  • Revision title: BlobEvent
  • Revision id: 458803
  • Created:
  • Creator: teoli
  • Is current revision? No
  • Comment

Revision Content

{{eventref("Event")}}{{SeeCompatTable}}

The BlobEvent interface represents events associated with a {{domxref("Blob")}}. These blobs are typically, but not necessarily,  associated with media content.

Properties

Inherits properties from its parent {{domxref("Event")}}.

{{domxref("BlobEvent.data")}} {{readonlyInline}}
Is a {{domxref("Blob")}} representing the data associated with the event. The event is fired on the {{domxref("EventTarget")}} because of something happening on that specific {{domxref("Blob")}}. It may be null.

Constructor

{{domxref("BlobEvent.BlobEvent", "BlobEvent()")}}
Creates a BlobEvent event with the given parameters.

Methods

No specific method; inherits methods from its parent {{domxref("Event")}}.

Specifications

Specification Status Comment
{{SpecName('MediaStream Recording', '#blob-event', 'BlobEvent')}} {{Spec2('MediaStream Recording')}} Initial definition.

Browser compatibility

{{CompatibilityTable}}

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support {{CompatNo}} {{CompatGeckoDesktop("22.0")}} {{CompatNo}} {{CompatNo}} {{CompatNo}}
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support {{CompatNo}} {{CompatGeckoMobile("22.0")}} {{CompatNo}} {{CompatNo}} {{CompatNo}}

See also

  • The {{domxref("Event")}} base interface.

Revision Source

<p>{{eventref("Event")}}{{SeeCompatTable}}</p>
<p>The <strong><code>BlobEvent</code></strong> interface represents events associated with a {{domxref("Blob")}}. These blobs are typically, but not necessarily,&nbsp; associated with media content.</p>
<h2 id="Properties">Properties</h2>
<p><em>Inherits properties from its parent {{domxref("Event")}}</em>.</p>
<dl>
  <dt>
    {{domxref("BlobEvent.data")}} {{readonlyInline}}</dt>
  <dd>
    Is a {{domxref("Blob")}} representing the data associated with the event. The event is fired on the {{domxref("EventTarget")}} because of something happening on that specific {{domxref("Blob")}}. It may be <code>null</code>.</dd>
</dl>
<h2 id="Constructor">Constructor</h2>
<dl>
  <dt>
    {{domxref("BlobEvent.BlobEvent", "BlobEvent()")}}</dt>
  <dd>
    Creates a <code>BlobEvent</code> event with the given parameters.</dd>
</dl>
<h2 id="Methods">Methods</h2>
<p><em>No specific method; inherits methods <em>from its parent {{domxref("Event")}}.</em></em></p>
<h2 id="Specifications">Specifications</h2>
<table class="standard-table">
  <tbody>
    <tr>
      <th scope="col">Specification</th>
      <th scope="col">Status</th>
      <th scope="col">Comment</th>
    </tr>
    <tr>
      <td>{{SpecName('MediaStream Recording', '#blob-event', 'BlobEvent')}}</td>
      <td>{{Spec2('MediaStream Recording')}}</td>
      <td>Initial definition.</td>
    </tr>
  </tbody>
</table>
<h2 id="Browser_compatibility">Browser compatibility</h2>
<p>{{CompatibilityTable}}</p>
<div id="compat-desktop">
  <table class="compat-table">
    <tbody>
      <tr>
        <th>Feature</th>
        <th>Chrome</th>
        <th>Firefox (Gecko)</th>
        <th>Internet Explorer</th>
        <th>Opera</th>
        <th>Safari</th>
      </tr>
      <tr>
        <td>Basic support</td>
        <td>{{CompatNo}}</td>
        <td>{{CompatGeckoDesktop("22.0")}}</td>
        <td>{{CompatNo}}</td>
        <td>{{CompatNo}}</td>
        <td>{{CompatNo}}</td>
      </tr>
    </tbody>
  </table>
</div>
<div id="compat-mobile">
  <table class="compat-table">
    <tbody>
      <tr>
        <th>Feature</th>
        <th>Android</th>
        <th>Firefox Mobile (Gecko)</th>
        <th>IE Mobile</th>
        <th>Opera Mobile</th>
        <th>Safari Mobile</th>
      </tr>
      <tr>
        <td>Basic support</td>
        <td>{{CompatNo}}</td>
        <td>{{CompatGeckoMobile("22.0")}}</td>
        <td>{{CompatNo}}</td>
        <td>{{CompatNo}}</td>
        <td>{{CompatNo}}</td>
      </tr>
    </tbody>
  </table>
</div>
<h2 id="See_also">See also</h2>
<ul>
  <li>The {{domxref("Event")}} base interface.</li>
</ul>
Revert to this revision