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

Simply Featured Video – Featured video support for WordPress

描述

Simply Featured Video is a featured video plugin that allows you to import video from media library or third party video platform into your WordPress post and embeds the video automatically.

The featured video can be place anywhere in your post content where you want the video to be displayed.

Classic editor not supported

Features

  • WordPress featured video
  • Support media library and third party video platform
  • Embed video automatically
  • Block editor support

Theme compatibility

Simply Featured Video is compatible with any WP theme that follows the coding standards.

螢幕截圖

  • Enabling post type support for featured video in the plugin settings.
  • Using YouTube video as featured video.
  • Using video from media library as featured video.
  • Viewing a post with YouTube video as featured video.
  • Viewing a post with video from media library as featured video.

安裝

  1. Upload the plugin files to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly;
  2. Activate the plugin through the ‘Plugins’ screen in WordPress;
  3. Config the plugin in the Simply Featured Video screen.
  4. Add featured video to your post.
  5. Place <?php sfv_the_post_video(); ?> to your theme’s post template file.

常見問題

Will this plugin work with classic editor?

Currently there is no support for classic editor.

Why is there no featured video box for [xyz] post type?

You need to go to the Simply Featured Video setting page and check the post type that you need featured video support.

What PHP functions can I use?

sfv_get_post_video_source( $post )
sfv_has_post_video( $post )
sfv_get_post_video_id( $post )
sfv_the_post_video( $attr )
sfv_get_the_post_video( $post, $attr )
sfv_the_post_video_url( $post )
sfv_get_the_post_video_url( $post )
sfv_the_post_video_caption( $post )
sfv_get_the_post_video_caption( $post )

All parameters are optional. If no $post is given the current post’s ID will be used.
$attr is either a string or an array representing HTML element attributes, e.g. array(‘loop’=> true).

評價

There are no reviews for this plugin.

貢獻者及開發者

“Simply Featured Video – Featured video support for WordPress” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

修改日誌

1.3.0

Fix video not loading when using local media

1.2.0

Bumped the “Tested up to” tag to WP 6.1
Bumped SDK version

1.1.0

Fix error on plugin deactivate.
Add instructions in setting page.

1.0.0

Initial release.