前言介紹
- 這款 WordPress 外掛「SNORDIAN's H5P Resize Pulse」是 2020-05-18 上架。
- 目前有 200 個安裝啟用數。
- 上一次更新是 2024-08-01,距離現在已有 275 天。
- 外掛最低要求 WordPress 4.0 以上版本才可以安裝。
- 有 2 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
otacke |
外掛標籤
h5p | tab | lightbox | Accordion |
內容簡介
注意:我花了一些自己的空閒時間來創建這個外掛。使用它及其源代碼完全免費。我不想從您那裡得到任何錢。但是,如果您喜歡這個外掛,我請求您向 Rainforest Coalition(https://www.rainforestcoalition.org/donate)捐贈 2.50 歐元(如果您能負擔更多,也可以)。
H5P 是一個多功能的外掛,可在您的網站上添加互動內容。您可以嘗試運行它在其他外掛創建的一些字段中,例如選項卡、手風琴、燈箱等等。有些情況下,即使 H5P 是可運行的,當前內容設置為高度為 0 像素。這個問題在 https://h5p.org/manipulating-h5p-with-javascript 上有描述。
最好的解決方案是修改在包含選項卡等的 WordPress 網站上的外掛,但這並不總是可能的。在某些情況下,此外掛可能是可行的解決方案之一。
在“間隔”模式下,它將定期觸發 H5P 進行調整大小,這樣可以在許多情況下顯示它。但是,如果出現頻率太高,可能會導致瀏覽器停止運行。明智地選擇時間間隔!此外,某些 H5P 內容類型可能會被打破。唯一的解決方法是使用“選擇器”模式。
在“選擇器”模式下,您需要確定一個 CSS 選擇器,以識別您與其交互以顯示其他內容的所有元素,例如選項卡按鈕。如果在外掛的設置中設置了該選擇器,當單擊該元素時,它將觸發調整大小的信號。這樣,您就可以防止使瀏覽器停止運行或導致 H5P 內容類型被破壞。根據創建其他外掛的方式,可能不存在合適的 CSS 選擇器。
如有必要,您可以使用 manage_h5presizepulse_options 可能性來控制對外掛設置的訪問權限。
注意:H5P 是 H5P GROUP 的商標。此外掛既不是由 H5P GROUP 創建的,也未經他們認可。
原文外掛簡介
PLEASE NOTE: I gave some of my free time to create this plugin. Using it and its source code is absolutely free. I don’t want any money from you. However, if you like this plugin, I kindly ask you to make a one-time donation of 2.50 EUR to the Rainforest Coalition (https://www.rainforestcoalition.org/donate) — or more if you can afford to.
H5P is a versatile plugin to add interactive content to your website. You may try to run it inside some fields that are created by other plugins, e.g. inside tabs, accordions, lightboxes, etc. And with some of them it seems that H5P doesn’t work although it is, but the content is set to a height of 0 pixels. That problem is described at https://h5p.org/manipulating-h5p-with-javascript.
The best solution would be to modify the plugin that’s including tabs, etc. to your WordPress site, but that’s not always possible. In some cases, this plugin may be a feasible workaround at least.
In “observer” mode, it will try to add a so called ResizeObserver to the container that holds the iframe with H5P content. That observer will send a resize pulse whenever the container changes in size, e.g. when it becomes visible. This should be a safe option just taking some extra resources.
In “interval” mode, it will trigger H5P to resize in regular intervals which should let it be displayed in many cases. However, if they appear too frequent, they may cause the browser to stall. Choose the time interval wisely! Also, some H5P content types may break that way. The only way around this is then the “selector” mode.
In “selector” mode, you need to determine a CSS selector that will identify all the elements that you interact with to display other contents, e.g. the tab buttons. If that selector is set in the plugin’s settings, it will trigger a resize pulse when that element is clicked. This way, you prevent stalling the browser or breaking H5P content types. Depending on how the other plugin was created, there may not ba a suitable CSS selector then.
If necessary, you can use the manage_h5presizepulse_options capability to control access to the plugin settings.
PLEASE NOTE: H5P IS A REGISTERED TRADEMARK OF H5P GROUP. THIS PLUGIN WAS NEITHER CREATED BY H5P GROUP NOR IS IT ENDORSED BY THEM.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「SNORDIAN's H5P Resize Pulse」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
0.1.0 | 0.1.1 | 0.1.2 | 0.1.3 | 0.1.4 | 0.1.5 | trunk |
延伸相關外掛(你可能也想知道)
WPLMS H5P 》透過這個外掛,您可以在 WPLMS (WordPress 學習管理系統) 的課程、測驗和作業中使用 H5P 元件。, , 可與 WPLMS 課程的 ajax 模式一同使用, 可與 WPLMS 單元和...。
SNORDIAN's H5PxAPIkatchu 》這個 WordPress 外掛是一個簡單的解決方案,可以捕捉由 H5P (https://h5p.org) 內容類型發送的所有 xAPI statement。它允許您將(最相關的)xAPI 屬性存儲在W...。
myCred H5P 》myCred-H5P 可讓您在 H5P 互動內容上為您的使用者授予積分,透過將遊戲化元素添加到您的 H5P 多媒體內容,鼓勵並增加使用者參與度。此外,當完成 H5P 內容時...。
GamiPress – H5P Points Per Score 》GamiPress - H5P Points Per Score 讓您在H5P中用百分比的方式將用戶得分作為GamiPress積分獎勵。, 您可以設置獎勵的得分百分比。以下是一些示例:, , 100%將...。
Dashboard for Pressbooks and H5P 》生成 H5P 內容和結果的摘要並在 Pressbooks 書籍中顯示。, 在 Github 上檢視或貢獻外掛程式原始碼:https://github.com/uhm-coe/dashboard-for-pressbooks-h5...。
NDLA's H5P Caretaker 》總結:H5P Caretaker 外掛讓你可以使用 NDLA 相同名稱的圖書館來檢查 H5P 內容檔案,找出可改善的選項,例如無障礙問題、衝突授權許可證以及佔用過多儲存空間...。