Add support for USDZ to webkit.org for a sample file
authordino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 1 Sep 2018 00:16:57 +0000 (00:16 +0000)
committerdino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 1 Sep 2018 00:16:57 +0000 (00:16 +0000)
https://bugs.webkit.org/show_bug.cgi?id=189217

Rubber-stamped by Anders Carlsson.

Use the accepted MIME-type for USDZ files, and provide a
simple example file.

* .htaccess: Serve USD with a MIME-type that we will accept.
* demos/ar/heart.usdz: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@235579 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Websites/webkit.org/.htaccess
Websites/webkit.org/ChangeLog
Websites/webkit.org/demos/ar/heart.usdz [new file with mode: 0644]

index f6fa105..c9b965c 100644 (file)
@@ -106,6 +106,9 @@ Redirect 301 /priority-bugs https://bugs.webkit.org/buglist.cgi?product=WebKit&b
 RewriteRule ^css/(.*)$ /old/css/$1 [NC,L]
 RewriteRule ^images/(.*)$ /old/images/$1 [NC,L]
 
+# Pixar USD support. Change to model/vnd.usdz+zip once WebKit support is in the wild.
+AddType model/vnd.pixar.usd usdz
+
 # BEGIN WordPress
 <IfModule mod_rewrite.c>
 RewriteEngine On
index be7988d..f9cae2a 100644 (file)
@@ -1,3 +1,16 @@
+2018-08-31  Dean Jackson  <dino@apple.com>
+
+        Add support for USDZ to webkit.org for a sample file
+        https://bugs.webkit.org/show_bug.cgi?id=189217
+
+        Rubber-stamped by Anders Carlsson.
+
+        Use the accepted MIME-type for USDZ files, and provide a
+        simple example file.
+
+        * .htaccess: Serve USD with a MIME-type that we will accept.
+        * demos/ar/heart.usdz: Added.
+
 2018-07-24  Jon Davis  <jond@apple.com>
 
         Disable some vestibular trigger animations when prefers-reduced-motion is active.
diff --git a/Websites/webkit.org/demos/ar/heart.usdz b/Websites/webkit.org/demos/ar/heart.usdz
new file mode 100644 (file)
index 0000000..346e665
Binary files /dev/null and b/Websites/webkit.org/demos/ar/heart.usdz differ