
內容簡介
### 摘要:
- 「Snordian's Local User Data for H5P」WordPress 外掛修改了 H5P 外掛。後者儲存已登入使用者在伺服器資料庫中的 H5P 內容先前狀態。當啟用此外掛時,也會將先前狀態儲存在使用者的瀏覽器中,並從那裡檢索。這使得可以恢復 H5P 內容,而無需登入。
### 安裝:
- 透過 WordPress 外掛庫安裝。
- 正如安裝其他外掛一樣。
- 上傳 ZIP 檔案。
### 設定:
- 「Snordian's Local User Data for H5P」WordPress 外掛無需設定。啟用後,前往 H5P 外掛設置:
1. 找到「保存內容狀態」。
2. 勾選「允許已登入使用者恢復任務」選項,這是恢復 H5P 內容先前狀態的必要條件。
3. 將「自動保存頻率(秒)」設置為應使用的時間間隔。此外掛將使用相同值。不建議將此設置太低,因為即使「Snordian's H5P Local User Data」外掛使用瀏覽器的本地儲存,H5P 將在資料庫中儲存狀態,頻繁製造過多呼叫可能會給您的伺服器帶來許多負載。
### 限制:
- 如果使用者已登入 WordPress 並進行 H5P 練習,則該練習的狀態將儲存在資料庫中,無法只在瀏覽器的本地儲存中保存先前狀態而不在資料庫中。
- 瀏覽器對每個網域可用的本地儲存量限制在 5MB 或 10MB,這意味著如果使用者存取大量 H5P 內容、H5P 內容儲存大量資料,或者您網站的其他部分使用本地儲存,空間可能會耗盡並且資料可能會遺失。
- 類似於 H5P 本身,此外掛無法儲存使用嵌入代碼而不是 WordPress 簡碼的內容狀態。
### 隱私:
- 注意(理論上),如果相應的練習需要輸入個人資訊,則 H5P 使用者狀態可能包含使用者的個人資訊。但是,「Snordian's Local User Data for H5P」外掛不允許您處理該資訊-換句話說: 您並未處理該資訊。但是,由於 H5P 外掛將向您的伺服器發送相同的資訊,根據當地隱私法規,處理 H5P 外掛的隱私影響可能或可能不適合您。
### 贊助商註記:
- 本外掛由 XR 能源專案中的 Sustainum 開發。Snordian是一位承包商,進行開發工作。
- 「由歐洲聯盟資助。儘管所表達的觀點僅屬作者本人,不一定反映歐洲聯盟或歐洲教育文化執行機構(EACEA)的觀點。歐盟或EACEA不負責這些觀點。」
### 問與答:
1. 安裝此外掛的步驟是什麼?
- 到 WordPress 外掛庫安裝、上傳 ZIP 檔案,然後啟用外掛。
2. 該外掛是否需要額外配置?
- 這個外掛不需要額外配置,只需檢查 H5P 外掛設置中特定選項。
3. 使用者在進行 H5P 練習時,其狀態資料會被存儲在哪裡?
- 使用者已登入 WordPress 並進行 H5P 練習時,其狀態資料將被存儲在資料庫中。
外掛標籤
開發者團隊
② 後台搜尋「SNORDIAN's Local User Data for H5P」→ 直接安裝(推薦)
原文外掛簡介
The “SNORDIAN’s Local User Data for H5P” plugin for WordPress amends the H5P plugin for WordPress. The latter saves the previous state of H5P content in the server’s database for users who are logged in. This plugin will, when activated, also store the previous state in the user’s browser and retrieve it from there. This enables to resume H5P content without having to be logged in.
Install
Install via WordPress plugin repository
Install just like any other plugin.
Upload ZIP file
Go to https://github.com/otacke/snordians-local-user-data-for-h5p/releases.
Pick the latest release (or the one that you want to use) and download the snordians-local-user-data-for-h5p.zip file.
Log in to your WordPress site as an admin and go to Plugins > Add New Plugin.
Click on the Upload Plugin button.
Upload the ZIP file with the plugin code.
Activate the plugin.
Configure
The “SNORDIAN’s Local User Data for H5P” plugin for WordPress does not need to be configured. In order to become active, you will go to the H5P plugin settings:
1. Find “Save Content State”
2. Check the option “Allow logged-in users to resume tasks”. This is required for being able to restore the previous state of H5P content in general.
3. Set “Auto-save frequency (in seconds)” to the time interval that should be used. The “SNORDIAN’s Local User Data for H5P” plugin will use the same value. It’s not advisable to set this too low, because even though the “SNORDIAN’s H5P Local User Data” plugin uses the browser’s local storage, H5P will store states inside the database and creating too many calls frequently may mean much load for your server.
Limitations
The state will not be stored continuously, but be bound to H5P’s core triggering respective events, see How does resuming an exercise work in H5P? for details.
It is not possible to only store the previous state in the browser’s local storage but not in the database without changes to the H5P core (or overloading it, which this plugin does not do). So, if users are logged into WordPress and do H5P exercises, the exercises’s state will be stored inside the database.
Browsers limit the amount of local storage available per domain to 5MB or 10MB. This means that if users access a lot of H5P content, if H5P content stores a lot of data, or if other parts of your site use the local storage, space may run out and data may be lost.
Similar to H5P itself, the plugin cannot store the state of content embedded with embed codes rather than WordPress shortcodes.
Privacy
Beware that (in theory) the H5P user state could contain personal information of the user if the respective exercise demands to enter personal information. The “SNORDIAN’s Local User Data for H5P” plugin does not allow you to get hold of that information – in other words: you are not processing it. However, since the H5P plugin will send the very same information to your server, dealing with privacy implications of the H5P plugin may or may not be relevant for you depending on your local privacy laws.
Sponsor note
The plugin was developed by Sustainum within the XR Energy project. Development work was carried out by SNORDIAN as a contractor.
“Funded by the European Union. Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Education and Culture Executive Agency (EACEA). Neither the European Union nor EACEA can be held responsible for them.”
