Skip to content

Commit 0f76305

Browse files
fix(catalog): keep the recorded video for canvas drawElement previews (#3171)
Eight blocks paint DOM into a canvas with ctx.drawElementImage(), which sits behind chrome://flags/#canvas-draw-element. A reader without the flag gets a preview that mounts, plays, and shows an empty canvas, which is what the 3D device blocks were doing even after their models were embedded correctly. The recorded video was captured by a renderer that has the capability, so it is the only preview these items can honestly show. All eight have a published mp4 and poster.
1 parent 470f802 commit 0f76305

46 files changed

Lines changed: 26 additions & 56 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎docs/catalog/blocks/ios26-liquid-glass.mdx‎

Lines changed: 1 addition & 6 deletions

‎docs/catalog/blocks/macos-tahoe-liquid-glass.mdx‎

Lines changed: 1 addition & 6 deletions

‎docs/catalog/blocks/vfx-iphone-device.mdx‎

Lines changed: 1 addition & 6 deletions

‎docs/catalog/blocks/vfx-liquid-background.mdx‎

Lines changed: 1 addition & 6 deletions

‎docs/catalog/blocks/vfx-liquid-glass.mdx‎

Lines changed: 1 addition & 6 deletions

‎docs/catalog/blocks/vfx-magnetic.mdx‎

Lines changed: 1 addition & 6 deletions

‎docs/catalog/blocks/vfx-portal.mdx‎

Lines changed: 1 addition & 6 deletions

‎docs/catalog/blocks/vfx-shatter.mdx‎

Lines changed: 1 addition & 6 deletions
-23.9 KB
Binary file not shown.
-26.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)