WordPress.org

Plugin Directory

Simply Featured Video – Featured video support for WordPress

该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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).

评价

此插件暂无评价。

贡献者及开发者

「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.