Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #13547
| Message-ID | <5545457.NJFYEL58v4@PointedEars.de> (permalink) |
|---|---|
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Organization | PointedEars Software (PES) |
| Date | 2012-04-23 15:09 +0200 |
| Subject | Re: video |
| Newsgroups | comp.lang.javascript |
| References | <Wf-dnZS2OJZdsgjSnZ2dnUVZ_tWdnZ2d@westnet.com.au> <1400436.AFRqVoOGUt@PointedEars.de> <Bb6dnWfVU5xW2AjSnZ2dnUVZ_qydnZ2d@westnet.com.au> |
| Followup-To | comp.lang.javascript |
Followups directed to: comp.lang.javascript
Andrew Poulos wrote:
> On 23/04/2012 9:13 PM, Thomas 'PointedEars' Lahn wrote:
>> 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.
>
> Oops, I meant, testing for support of the video element.
I have nothing to add at this time.
PointedEars
--
Danny Goodman's books are out of date and teach practices that are
positively harmful for cross-browser scripting.
-- Richard Cornford, cljs, <cife6q$253$1$8300dec7@news.demon.co.uk> (2004)
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