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
Этот плагин можно скачать и использовать при .