Aparat Video SEO

Description

Aparat Video SEO lets you embed videos hosted on Aparat and makes them easier for search engines to understand.

Features

  • Gutenberg block (“Aparat Video”) and [aparat_video] shortcode with a classic editor button.
  • Automatic VideoObject structured data (JSON-LD) for every embedded video.
  • Google-compatible video sitemap at /video-sitemap.xml.
  • Admin dashboard to review detected videos, refresh metadata and scan existing content.
  • Player options: show title, start muted, related videos, start time and desktop width.
  • Metadata is cached to keep your site fast (configurable duration).

Shortcode

[aparat_video uid="vrhi7ox" titleShow="true" muted="false" recom="true" startTime="0" width="100"]

uid accepts a video ID or a full Aparat URL. `width` can be 100, 75, 50 or 25 (desktop only).

External services

This plugin connects to the Aparat API to retrieve public information (title, description, thumbnail, duration, upload date, view count, tags and channel name) about the videos you embed. Videos are also displayed on your site through an iframe served by Aparat.

  • Service: Aparat (https://www.aparat.com)
  • Data sent: the ID of the video being embedded, together with the standard HTTP request data (such as your server’s IP address). No visitor data is sent by the plugin; requests are made from your server when you save content, use the admin tools, or when the cache expires.
  • When: on saving a post that contains an Aparat video, when you use “Test connection”, “Scan site” or “Refresh” in the settings screen, and when cached data has expired.
  • Visitors: the embedded Aparat player is loaded in the visitor’s browser from aparat.com and is subject to Aparat’s policies.
  • Terms of service: https://www.aparat.com/terms
  • Privacy policy: https://www.aparat.com/privacy

Screenshots

Blocks

This plugin provides 1 block.

  • Aparat Video

Installation

  1. Upload the plugin folder to /wp-content/plugins/ or install it from the Plugins screen.
  2. Activate the plugin.
  3. Add the “Aparat Video” block (or use the “Add Aparat Video” button in the classic editor) and paste a video ID or URL.
  4. Go to Settings Aparat Video SEO and submit the video sitemap URL to Google Search Console.

FAQ

Where is the video sitemap?

At https://your-site.com/video-sitemap.xml. If you get a 404, visit Settings Permalinks and click Save.

My existing videos do not appear in the dashboard

Open Settings Aparat Video SEO and click “Scan site”.

Does the plugin send visitor data anywhere?

No. See the “External services” section for exactly what is sent to Aparat.

What happens to my data when I delete the plugin?

Settings, cached video data and transients created by the plugin are removed on uninstall. Your posts and their content are not touched.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Aparat Video SEO” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Aparat Video SEO” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

2.1.0

  • Prepared for the WordPress.org repository: unique prefixes, internationalization (English source strings), escaping and sanitization, assets moved to enqueued files.
  • Removed the global SSL verification override and the external font.
  • Removed the “Aparat Videos” custom post type and its menu; videos are added with the block, shortcode or editor button.
  • Block and shortcode detection now uses the block parser.
  • Added video duration to the sitemap and a proper uninstall routine.
  • Fixed the classic editor dialog size.

2.0.0

  • Initial public version.