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

Audio Envelope

外掛說明

This plugin renders an audio player and playlist for all audio elements within a page. It pulls together audio files listed in posts (typically in the excerpts in posts) and provide a single player to control them. It also keeps track of the play point and can even continue to play the audio on subsequent pages that it is listed on.

螢幕擷圖

  • Expanded full player and playlist for desktop
  • Collapsed player for desktop
  • Expanded full player and playlist for mobile
  • Collapsed player for mobile

適用於區塊編輯器

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

  • Audio Envelope

安裝方式

  1. Upload audio-envelope/ to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常見問題集

Why would you want to use this?

This plugin was designed for podcasters who might want to show their episodes from one season within one player. By creating individual posts for each episode and then adding the audio to the displayed text (ie. excerpt), a central player is rendered, pulling together all the audio into a playlist and single player. It hides the individual audio players and replaces it with a simple play button that is connected to the player.

Use Audio Envelope as a way to feature a collection of audio on a single page.

Why does the audio stop playing when I navigate through the site?

This is a ‘feature’ of how your site is working. In order to support audio continuing to play, the content of your site needs to load dynamically, using something like React. If this is important to your site consider looking for a REACT-based theme, or seek out a developer who can build this functionality for you. It is possible, but beyond the scope of this plugin.

Audio Envelope does however, support continuous play if the same audio remains on all pages that you navigate to.

We are also exploring ways to ‘carry’ the audio around with you, however the audio will pause because as the page changes.

使用者評論

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

參與者及開發者

以下人員參與了開源軟體〈Audio Envelope〉的開發相關工作。

參與者

將〈Audio Envelope〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0.0

  • Initial release

1.0.1

  • Fixing issues with text and description selectors
  • Adding options for adjusting these selectors

1.0.2

  • Fixed issue with active state of audio
  • Excluding title and description from localStorage to catch change in the page

1.0.3

  • Added deactivation param, for demo purposes

1.0.4

  • Fixed issue with state without currentTime

1.0.5

  • Sorted out issues with JS not properly finding title and description
  • Added Gutenberg block to improve accuracy of defining multiple audio envelopes in a post
  • Improved settings, so you can activate or deactivate player side-wide or on individual posts

1.0.6

  • Improved options, including putting them into one options field
  • Fixed bug with scrolling to active track
  • Upgrade babel + lodash to deal with security issue

1.0.7

  • Adding Elementor skin for Elementors Posts Widget, so posts with Gutenberg AE blocks are rendered instead of all of the content

1.0.8

  • Removed error message when Elementor is not installed, as it is not required
  • Updated npm libraries with security vulnerabilities

1.0.9

  • Fixed unhidden default player