
內容簡介
此外掛提供了一種方便的方法,讓您可以發佈由Garden Gnome Software的Pano2VR和Object2VR所建立的全景照片和物件影片。
您可以透過簡碼,如[ggpkg id=12]或Gutenberg編輯器中的區塊來嵌入程式包。
範例程式包可從我們的論壇下載。
簡碼
當您使用簡碼嵌入程式包時,您可以在簡碼中提供其他參數:
width: 程式在頁面上的寬度
height: 程式在頁面上的高度
start_preview: 若設為「true」,則程式一開始會顯示成帶有播放按鈕的預覽影像。
start_node: 若程式是虛擬之旅,您可以指定起始節點。您可以在旅遊瀏覽器中的工具提示中找到每個節點的節點ID。
start_view: 對於全景照片和虛擬之旅,設定第一個節點的初始視圖。格式為「pan/tilt/fov/projection」,投影參數是可選的。
url: 可以替代ID,從特定URL嵌入程式包。如[ggpkg url='....']
範例:[ggpkg id=12 width='100%' height='500px' start_preview='true']
如果您使用的是Gutenberg編輯器並希望透過簡碼嵌入程式包,請從「格式」部分使用「Classic Block」,並使用「新增媒體」按鈕從媒體庫添加程式包。
Gutenberg區塊
您可以在小工具部分找到GGPKG Gutenberg區塊。
在GGPKG區塊中,您可以從媒體庫中選擇一個程式包。
在右側的「檢查器」面板中,您可以指定是否要從預覽影像和播放按鈕開始程式,以及設定程式在頁面上的寬度和高度。
Elementor小工具
您可以在「General」部分找到「Garden Gnome Package Widget」小工具。
在小工具設置中,您可以從媒體庫中選擇一個程式包,定義高度,並選擇是否以預覽影像開始程式。
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
This plugin provides an easy way to publish panoramas and object movies created with Garden Gnome Software’s Pano2VR and Object2VR.
You can embed a package via a shortcode like [ggpkg id=12] or a block in the Gutenberg editor.
Sample packages can be downloaded from our forum.
Shortcode
When you are using a shortcode to embed a package, you can provide additional parameters in the shortcode:
width: the width of the player in the page
height: the height of the player in the page
start_preview: when set to ‘true’, the player will initially show as a preview image with a play button.
start_node: if the package is a virtual tour, you can specify the start node. You can find the node ID of each node in the tooltip in the tour browser.
start_view: for panoramas and virtual tours, sets the initial view of the first node. The format is ‘pan/tilt/fov/projection’. The projection parameter is optional.
url: can be used instead of ID, to embed a package from a specific URL. Like [ggpkg url='....']. This field needs to be enabled in the settings.
Example: [ggpkg id=12 width='100%' height='500px' start_preview='true']
If you are using the Gutenberg Editor and want to embed a package via a shortcode, use a Classic Block from the ‘Formatting’ section, and use the Add Media button to add a package from the media library.
Gutenberg Block
You can find the GGPKG Gutenberg Block in the Widgets section.
In the GGPKG Block, you can pick a package from the media library.
In the Inspector panel on the right, you can specify if the package should start with a preview image and a play button, and set the width and height of the player in the page.
Elementor Widget
You can find the Garden Gnome Package Widget in the General section.
In the Widget settings, you can pick a package from the media library, define the height, and select if it should start with a preview image.
