這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Privacy Embed

外掛說明

This plugin adds some shortcodes to let you embed external content like youtube videos on your wordpress pages. Nothing new so far – why another plugin?

Well, this plugin puts emphasis on data protection. Before the content is loaded from an external area of responsibility (a third-party provider), the user must explicitly agree to the data transfer. In this way, the site operator is supported in designing his website in a data protection-compliant manner (taking into account the GDPR, among other things).

For the WPBakery Page Builder plugin, prefabricated blocks are also provided so that the shortcodes can be used directly.

Currently, embeddings of the following services are supported:
* YouTube videos (Google)
* Spotify (Artists, Albums, Tracks, Podcast Episodes)
* Twitter (Single Tweet, User Timeline, Follow-Button, Mention-Button, Hashtag-Button)

螢幕擷圖

  • Settings Page: Updating the text shown on (or instead of) the embed elements
  • Sample YouTube Shortcode
  • YouTube Embed Element (before the user loads the content)
  • YouTube Embed Element (after the user loaded the content)
  • Sample Spotify Shortcodes
  • Spotify Embed Elements (before the user loads the content)
  • Spotify Embed Elements (after the user loaded the content)
  • Sample Twitter Shortcodes
  • Twitter Embed Elements (before the user loads the content)
  • Twitter Embed Elements (after the user loaded the content)

安裝方式

  1. Make sure that your WordPress installation meets the minimum requirements of this plugin.
  2. Upload the plugin to the /wp-content/plugins/ directory or install it directly from the admin pages.
  3. Use the shortcodes:
    • Spotify*: [privacy-embed_spotify title="Title of embed" spotify_url="spotify:album:1DFixLWuPkv3KT3TnV35m3"]
    • YouTube: [privacy-embed_youtube title="Title of embed" youtube_link="https://www.youtube.com/watch?v=kV9sNmujCPk"]
    • Twitter: [privacy-embed_twitter title="Title of embed" twitter_type="timeline" twitter_link="https://twitter.com/WordPress"]

Notices

You can get the Spotify URI by clicking “Share” on the Spotify page of any artist, album or track and then selecting “Copy Spotify URI”.

Getting the Spotify URL for a podcast episode requires a bit more steps: Click “Share” on the corresponding Spotify page and select “Copy episode link”. From the copied link you now have to extract the part after “…/episode/” up to (excluding) the next question mark. Your Spotify URL is now composed of: "spotify:episode:extracted-part".

For podcasts (shows) you have to click “Share” on the corresponding Spotify page and select “Copy show link” nad extract the part after “…/show/” up to (excluding) the next question mark. Your Spotify URL is now composed of: "spotify:show:extracted-part".

The following examples can be values of the field twitter_link:
* single tweet: https://twitter.com/WordPress/status/1402457431742074881
* timeline, follow-button, mention-button: https://twitter.com/WordPress
* hashtag-button: https://twitter.com/hashtag/WordPress

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Privacy Embed〉的開發相關工作。

參與者

將〈Privacy Embed〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.3

  • added: twitter embeds
  • updated: description (especially structure)

1.0.2

  • fixed: styling (again)
  • added: translation support (currently only german)
  • added/fixed: new displaying for spotify episodes and shows

1.0.1

  • fixed: styling
  • fixed: title on youtube embeds
  • fixed: default notice if values on settings page are not set

1.0.0

  • inital version