CineLink Embeds for JustWatch

外掛說明

CineLink Embeds for JustWatch adds a Gutenberg block for embedding JustWatch widgets using TMDB or IMDB IDs.

Features include:

  • Global plugin defaults in WordPress admin settings.
  • Per-block overrides in the editor.
  • Shortcode support for use with Divi, Elementor, and other page builders.
  • Language override support (tested languages only).
  • Offer label, max offers, icon scale, and message customization.
  • Heading and border display controls.
  • Configurable wrapper margin globally and per block.
  • Optional public attribution link, disabled by default and can be enabled by admin.

The plugin also inserts the JustWatch code snippet into your site footer globally, which provides backward compatibility if you were previously using HTML code to embed widgets. Once you have the plugin installed, you can delete the code snippet you added to your theme.

Tested language override options:

  • Arabic
  • Chinese
  • Czech
  • French
  • German
  • Italian
  • Polish
  • Portuguese
  • Romanian
  • Russian
  • Spanish

External services

This plugin connects to JustWatch services to load widget content.

Service used:

  • JustWatch Widget script: https://widget.justwatch.com/justwatch_widget.js

What is sent:

  • The configured JustWatch API key.
  • Title identifiers and widget configuration (for example: object type, external ID, ID type, language, scale, and related widget options).
  • Standard browser request metadata to JustWatch servers (such as visitor IP address, user agent, and referrer), as part of normal web requests.

When data is sent:

  • The widget script is loaded on front-end page views.
  • Widget-related data is requested when a page includes a JustWatch widget block.

Service documentation and policies:

  • Widget documentation: https://apis.justwatch.com/docs/widget
  • Terms of Service: https://partners.justwatch.com/legal/termsofuse
  • Privacy Policy: https://partners.justwatch.com/legal/privacypolicy

螢幕擷圖

適用於區塊編輯器

這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。

  • CineLink Embed for JustWatch Embed a JustWatch widget using TMDB or IMDB ID.

安裝方式

  1. Upload the plugin folder to the /wp-content/plugins/ directory, or install it as a ZIP via Plugins > Add New.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Open CineLink Embeds for JustWatch settings in wp-admin and add your API key.
  4. Insert the CineLink Embed for JustWatch block into a post or page and configure ID type + ID.

常見問題集

Do I need a JustWatch API key?

Yes. Add your API key in the plugin settings page before using the widget.

Can I override settings per block?

Yes. Use the Overrides panel in the block inspector.

Does this plugin work with Divi, Elementor, or other page builders?

Yes. Use the [cinelink] shortcode in your page builder’s code or text module:

Movie, with IMDB:
[cinelink object_type=”movie” id_type=”imdb” external_id=”tt31190636″]

TV Show, with TMDB:
[cinelink object_type=”show” id_type=”tmdb” external_id=”245927″]

The three required attributes are object_type (movie or show), id_type (tmdb or imdb), and external_id (the title’s ID). All other display settings (heading, border, colours, language, etc.) are inherited from the plugin’s global settings page.

What happens when I uninstall the plugin?

On plugin uninstall (delete), plugin options are cleaned up from the database.

使用者評論

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

參與者及開發者

以下人員參與了開源軟體〈CineLink Embeds for JustWatch〉的開發相關工作。

參與者

將〈CineLink Embeds for JustWatch〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0.2

  • Add shortcode support for use with Divi, Elementor, and other page builders.

1.0.1

  • Add custom admin footer on settings page.

1.0.0

  • First stable release.
  • Admin defaults and block-level overrides.
  • Language override support with tested language list.
  • Uninstall cleanup for saved plugin options.