Directory / plugin
MarcTV 3D Model Embed Block
v1.0.1 · by Marc Tönsing
Show interactive 3D models in WordPress with a simple block for GLB and glTF files, including optional zoom controls.
About this plugin
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 installfollowed bynpm run build