Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #13541
| Message-ID | <1400436.AFRqVoOGUt@PointedEars.de> (permalink) |
|---|---|
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Organization | PointedEars Software (PES) |
| Date | 2012-04-23 13:13 +0200 |
| Subject | Re: video |
| Newsgroups | comp.lang.javascript |
| References | <Wf-dnZS2OJZdsgjSnZ2dnUVZ_tWdnZ2d@westnet.com.au> |
| Followup-To | comp.lang.javascript |
Followups directed to: comp.lang.javascript
Andrew Poulos wrote:
> A client has a MP4 video they want to play in a browser. […]
> Is this
>
> function supports_video() {
> return !!document.createElement('video').canPlayType;
> }
>
> from
>
> <http://fortuito.us/diveintohtml5/detect.html#video-formats>
>
> a valid way test for support for the video format?
No.
PointedEars
--
var bugRiddenCrashPronePieceOfJunk = (
navigator.userAgent.indexOf('MSIE 5') != -1
&& navigator.userAgent.indexOf('Mac') != -1
) // Plone, register_function.js:16
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
video Andrew Poulos <ap_prog@hotmail.com> - 2012-04-23 20:32 +1000
Re: video Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-04-23 13:13 +0200
Re: video Andrew Poulos <ap_prog@hotmail.com> - 2012-04-23 22:06 +1000
Re: video Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-04-23 15:09 +0200
Re: video Bart Van der Donck <bart@nijlen.com> - 2012-04-24 08:17 -0700
csiph-web