plugin-icon

MarcTV 3D Model Embed Block

作者 Marc Tönsing·
Show interactive 3D models in WordPress with a simple block for GLB and glTF files, including optional zoom controls.
版本
1.0.1
最近更新:
May 17, 2026
MarcTV 3D Model Embed Block

Adds a block for interactive 3D models in .glb and .gltf format from the media library. You can keep interaction limited to horizontal rotation or enable zoom explicitly when needed.

This plugin is being developed on GitHub https://github.com/mtoensing/marctv-3d-model-embed-block

Includes the model-viewer runtime locally:

  • Project: https://modelviewer.dev/
  • Source: https://github.com/google/model-viewer
  • Package: @google/model-viewer
  • Version: 4.2.0
  • Bundled file: public/vendor/model-viewer/4.2.0/model-viewer-umd.min.js
  • License: Apache License 2.0

The bundled file is kept versioned in the plugin and documented alongside the asset.

Source Code and Build Instructions

The generated block assets in build/ are compiled from the human-readable source files in the public development repository:

  • Repository: https://github.com/mtoensing/marctv-3d-model-embed-block
  • Block source: src/
  • Build tooling: package.json
  • Build command: npm install followed by npm run build
目前已測試版本
WordPress 7.0
此外掛程式已可供下載,並可用於你 系統。