Mô tả
Upload your 3D models to Sketchfab and embed them to any WordPress page in your site.
About Sketchfab
Sketchfab is the place to be for 3D files: a platform to publish and find the best 3D content. Millions of people make 3D models or scan the real world in 3D, why would they share this in 2D? What YouTube did for video makers, or SoundCloud for musicians, we are doing it for creators of 3D content.
Sketchfab integrates with all major 3D creation tools, and is natively built in Photoshop, Modo and Blender. Sketchfab supports 28 native 3D formats, and displays them in browser in real-time.
Sketchfab WordPress Plugin
The Sketchfab 3D viewer can be embedded on any web page, as easily as a YouTube video. This plugin will enables you to embed 3d models from Sketchfab using the model URL or model ID.
Choose any item from sketchfab.com, or create your own! Copy the model URL and paste it to your post text editor. Then simply click over to the visual editor to confirm that it loads properly.
Alternatively, you can embed 3D models to your content using the [sketchfab id=""]
shortcode and the model ID.
Thêm thông tin
For any questions or more information, please contact us.
Cài đặt
Installation
- In your WordPress Dashboard go to “Plugins” -> “Add Plugin”.
- Search for “Sketchfab Embed”.
- Install the plugin by pressing the “Install” button.
- Activate the plugin by pressing the “Activate” button.
Minimum Requirements
- WordPress version 3.5 or greater.
- PHP version 5.2.4 or greater.
- MySQL version 5.0 or greater.
Recommended Requirements
- The latest WordPress version.
- PHP version 5.6 or greater.
- MySQL version 5.6 or greater.
Hỏi đáp
- How do I embed 3D models from Sketchfab?
-
With this plugin you can use the model URL, just paste the URL into your post editor:
https://sketchfab.com/models/034a1a146e304161b7c45b9354ed2dfd - How do I set custom dimensions to my models?
-
Since WordPress 4.2 you can double click the embedded models and set max
width
and maxheight
dimensions. It will add the WordPress[embed]
shortcode:
[embed width=”400″ height=”300″]https://sketchfab.com/models/034a1a146e304161b7c45b9354ed2dfd[/embed]Note: Doing it the WordPress way, using the
[embed]
shortcode, is backwards and forward compatible, and it works with all the themes. - Can I customize the embedded 3D models?
-
For advanced customization, use
[sketchfab id=""]
shortcode with the following attributes:- id – Model ID. this is a required field.
- width – Model width. Default 640.
- height – Model height. Default 480.
- autostart – Load model immediately once the page is ready, rather than waiting for a user to click the Play button. Default 0. This should probably not be used if you have a lot of models on the same page.
- autospin – Automatically spin around the z-axis after loading. Default 0. The greater the number, the faster the spin. A negative number will reverse the spin direction.
Đánh giá
Người đóng góp & Lập trình viên
“Sketchfab Embed” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng góp“Sketchfab Embed” đã được dịch qua 8 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.
Dịch “Sketchfab Embed” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
1.5 (2016-04-04)
- Add shortcode.
- Move plugin files to ‘includes’ directory.
1.4 (2015-12-01)
- Remove po/mo files from the plugin.
- Use translate.wordpress.org to translate the plugin.
1.3 (2015-04-21)
- Prevent direct access to php files.
- Prevent direct access to directories.
1.2 (2015-03-04)
- Add branding text and a video to the readme file.
- Add two screenshots.
1.1 (2015-03-02)
- Add i18n support.
- Add Hebrew (he_IL) translation.
1.0 (2015-03-01)
- Initial release
- Register oEmbed provider.