media
example with one APNG source qualified with a type
attribute.Note: Picturefill supports APNG types on any source element, and will disregard a source
if its type is not supported in a particular environment.
<picture>
<!--[if IE 9]><video style="display: none;"><![endif]-->
<source srcset="../examples/images/ballanim.png" type="image/x-apng">
<source srcset="../examples/images/ballanim.gif" type="image/gif">
<!--[if IE 9]></video><![endif]-->
<img srcset="../examples/images/ballanim.gif" alt="A giant stone face at The Bayon temple in Angkor Thom, Cambodia">
</picture>
Also note that the Mime Type image/x-apng
is not real — it is only used by picturefill to distinguish between PNG and APNG (this is experimental and may be changed in a later release).