Post

Replies

Boosts

Views

Activity

HTML <model> element does not render
Hi, I'm trying to play with all the Web-related features mentioned in https://developer.apple.com/videos/play/wwdc2023/10279/ on visionOS simulator. While Quick Look and WebXR work as expected, adding a element to my demo page does not result in anything rendered. I'm using this model from the developer page, and the simple HTML code below: <body> <model style="width: 400px; height: 300px" interactive> <source src="models/sneaker.usdz" type="model/vnd.usdz+zip"> </model> <div>aaa</div> </body> This would leave the 400x300 blank area before the , with or without the type="model/vnd.usdz+zip" part. However the resource is loaded successfully according to the Inspector. And I did turn on the flags: Any help would be much appreciated!
6
1
1.2k
Jun ’23