Apple - HTML 5 Demo?

Forums » Opera for Windows/Mac/Linux » Opera browser

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

4. June 2010, 16:03:54

Sid32

Posts: 37

Apple - HTML 5 Demo?

Any way to test this in opera?

http://www.apple.com/html5/

4. June 2010, 16:43:23

benryves

Posts: 80

There's the userscript option (pretend to be Safari):

// ==UserScript==
// @include http://www.apple.com/html5/*
// @include http://apple.com/html5/*
// ==/UserScript==

navigator.userAgent = 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_7; en-us) AppleWebKit/533.4 (KHTML, like Gecko) Version/4.1 Safari/533.4';

Most of the demos don't work in Opera, though.

6. June 2010, 13:09:41

Placio74

Posts: 319

Originally posted by benryves:

...Most of the demos don't work in Opera, though.


As well as in Google Chrome and Firefox does not work too.
Video - linked H.264 video, MOV file
Audio - linked AAC audio, M4A file
VR - vendor prefixes (-webkit-...) for the CSS3
These three 'demos' work only in Safari (with required QuickTime for Video and Audio).
Interesting that it does not work in Chrome...
Other 'demos' works.

BTW
http://my.opera.com/haavard/blog/2010/06/04/apple-html5

6. June 2010, 14:20:20

QuHno

read a book!

Posts: 1037

Chrome Experiments, Safari Experiments and before there are IE9 Experiments I want a nice styled page with OPERAting Experiments (with many -o included) wink
Looking for a new home for your blog, albums, mail and forums after my.opera closes at march 1, 2014?

Visit https://vivaldi.net - the new community set up by Jon S. v. Tetzchner and several former Opera employees. Many of us are already there and some of the employees too smile

7. June 2010, 03:01:40

Chas4

Operaaholic

Posts: 1139

Originally posted by benryves:

There's the userscript option (pretend to be Safari):

// ==UserScript==
// @include http://www.apple.com/html5/*
// @include http://apple.com/html5/*
// ==/UserScript==

navigator.userAgent = 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_7; en-us) AppleWebKit/533.4 (KHTML, like Gecko) Version/4.1 Safari/533.4';

Most of the demos don't work in Opera, though.



Why spoof as the Mac OS 10.7 when 10.6.x is the current public one?


Why Open the Web?

Despite the connecting purpose of the Web, it is not entirely open to all of its users. When used correctly, HTML documents can be displayed across platforms and devices. However, many devices are excluded access to Web content.

http://my.opera.com/community/openweb/info/

7. June 2010, 10:59:23

benryves

Posts: 80

Originally posted by Chas4:

Originally posted by benryves:

There's the userscript option (pretend to be Safari):

// ==UserScript==
// @include http://www.apple.com/html5/*
// @include http://apple.com/html5/*
// ==/UserScript==

navigator.userAgent = 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_7; en-us) AppleWebKit/533.4 (KHTML, like Gecko) Version/4.1 Safari/533.4';

Most of the demos don't work in Opera, though.



Why spoof as the Mac OS 10.7 when 10.6.x is the current public one?

I'm not desperately familiar with Safari so just looked up a list of its user agent strings. Given that their demo claims to be for the latest and greatest features I went for the latest version of the user agent. Given their half-arsed attempt to block users from their site I thought a half-arsed solution was in order.

Forums » Opera for Windows/Mac/Linux » Opera browser