Linux 软件免费装
Banner图

Elinweb Lightweight Player for Aparat

开发者 imansh
更新时间 2026年9月22日 00:22
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

performance video elementor block aparat

下载

2.1.0 2.0.5

详情介绍:

Paste an Aparat link, and the plugin prepares a local poster with a circular Play icon. The player loads after your visitor clicks Play, keeping video requests out of the initial page load. Use either of these link formats: Replace ytf50k5 with your video's identifier. Includes a Gutenberg block, an optional Elementor widget, and the lwpa_aparat shortcode. You can set a custom poster, aspect ratio, start time, or muted playback. Enable above-fold poster priority only for videos visible without scrolling. The default browser player avoids Aparat's iframe and player JavaScript. An optional official Aparat player is also available. WP Rocket and Perfmatters Delay JavaScript exclusions are included. Posters are stored in your media library and converted to WebP when supported. Preparation runs while editing, saving, or through WP-Cron, without synchronous Aparat requests during public page rendering. Playback depends on API/CDN availability and browser policies. The plugin includes Persian interface translations. Find the short Persian guide in README.md or on GitHub: https://github.com/ishadmehri/elinweb-lightweight-player-for-aparat Independently developed; not affiliated with or endorsed by Aparat or Elementor. Author: Iman Shadmehri. Website: https://elinweb.ir

安装:

  1. Upload the installable ZIP through Plugins > Add New > Upload Plugin and activate it.
  2. Add the Gutenberg block or Elementor widget and paste an /embed/ or /v/ Aparat link.
  3. Save and allow poster preparation to finish. WP-Cron must run for background imports. Clear page/CDN caches after updating.

常见问题:

How do I use the shortcode?

[lwpa_aparat url="https://www.aparat.com/embed/ytf50k5" start_time="65" muted="true"]

Does playback need one click?

The browser player requests playback during the first click. It can retry muted playback if the browser rejects playback with sound. The optional official iframe may require an extra internal Play click.

What cache exclusions are needed?

For independent CDN/REST caching, exclude the lwpa_aparat_stream action on /wp-admin/admin-ajax.php and /wp-json/lightweight-player/v1/stream/* from caching. Playback responses send Cache-Control: no-store. Video bytes come directly from Aparat's CDN.

更新日志:

2.0.5 2.0.4 2.0.3 2.0.2