Compact WP Audio Player

Описание

Плагин Compact WordPress Audio Player это гибридный, основанный на HTML5 и Flash плагин для вордпресса, который может использоваться для встраивания mp3 аудиофайлов в посты и страницы с использованием шорткода. Аудиоплеер красивый, компактный и будет работать во всех основных браузерах.

Этот плагин аудиоплеера поддерживает файлы форматов .mp3 и .ogg.

Аудиофайлы которые вы встроите используя плагин, будут работать на всех устройствах

Возможности плагина

  • Аудиоплеер компактен, поэтому он не занимает много места на вашей веб-странице
  • HTML5 совместим, поэтому аудиофайлы, встроенные в этот плагин, будут воспроизводиться на устройствах iOS
  • Работает на всех основных браузерах-IE7, IE8, IE9, Safari, Firefox, Chrome
  • Аудиоплеер является адаптивным.
  • Если вы делаете подкастинг, то этот аудиоплеер можно использовать для встраивания аудиофайлов в ваши сообщения WordPress или страницы
  • Если вы продаете аудиофайлы с вашего сайта, то вы можете использовать этот плагин, чтобы предложить предварительный просмотр
  • Добавьте аудиоплеер к любому сообщению / странице с помощью шорт-кода
  • Используйте опцию автозапуска, чтобы воспроизвести аудио / mp3 файл, как только страница загружается
  • Возможность указать как mp3, так и ogg версию ваших аудиофайлов. Плагин будет воспроизводить соответствующий один на основе устройства.

Больше подробностей вы можете найти на странице плагина Compact Audio Player

Использование

Используйте следующий шорткод для вставки аудио в любом месте вашего сайта

[sc_embed_player fileurl=»URL OF THE MP3 FILE»]

Пример шорткода

[sc_embed_player fileurl=»http://www.example.com/wp-content/uploads/my-music/mysong.mp3″]

Установка

  1. Загрузите «sc_audio_player.zip » файл через загрузчик плагинов WordPress (плагины — & gt; Add New — & gt; Upload)
  2. Активируйте плагин в разделе меню «Плагины» в WordPress
  3. Создайте страницу или сообщение, чтобы показать плеер с помощью шорт-кода.
  4. Добавьте шорткод в любом посту или странице. Например такой: [sc_embed_player fileurl=»ссылка на mp3 файл»]

Часто задаваемые вопросы

Будет ли работать воспроизведение аудиофайлов во всех основных браузерах?

Да

Я могу зациклить аудиофайлы встроенные с использованием этого плагина?

Да

Будет ли аудиоплеер работать на устройствах с iOS?

Да

Отзывы

24.02.2024 1 ответ
It does what it promises very well. I have replaced the controls images with custom ones but it defaults to the stock dark ones after updates.
22.08.2022 1 ответ
The play button of this plug-in is pasted on the top page. It is better not to take up extra space with compacts. It's been working fine so far. If it's greedy, I think it would be even better if there were variations in icon design.
06.05.2022 1 ответ
It's a cute plugin. It's been around a long time, nice to see the developer sticking with it. I installed it years ago in a draft web site I still am working on. I want a music file to play when someone loads the home page. Therefore, the autoplay option to play an audio/mp3 file as soon as the page loads is great. However, it never stops playing. I have the player in the sidebar so the visitor can see it to shut it off if they want. However, there is no way to tell the little player to ONLY PLAY ONCE. That's all I need it for. When the visitor arrives at the web site. Unfortunately, is plays the music on every single page load. I would kindly suggest that you add a default feature to limit plays to once, on the first page load, regardless of how many different pages are loaded. Thanks for thinking about it.
08.03.2022 1 ответ
I love the compactness, but it needs to kill all audio playing on the page when I hit the play button. Otherwise, we have multiple audio playing over each other.
10.04.2021 1 ответ
I'm using it to play a couple different songs on multiple pages. Exactly what I needed. Simple, easy to use and a clean look.
Посмотреть все 67 отзывов

Участники и разработчики

«Compact WP Audio Player» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

«Compact WP Audio Player» переведён на 1 язык. Благодарим переводчиков за их работу.

Перевести «Compact WP Audio Player» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

1.9.13

  • Added a settings option and a filter to disable the URL validation for the fileurl parameter.

1.9.12

  • The fileurl field will also accept the relative URL value (example: /wp-content/uploades/audio.mp3)

1.9.11

  • Added a fallback for the fileurl verification when the PHP URL validation fail for non-latin characters.

1.9.10

  • Added a CSS wrapper class for the audio player to make it work better with block themes.
  • Validate URL for the ‘fileurl’ parameter of the shortcode.

1.9.9

  • PHP 8.2 compatibility.

1.9.8

  • Added output escaping to the shortcode parameters. Thanks to WPScan for pointing it out.

1.9.7

  • Escape attributes in the shortcode.
  • Added nonce check to the settings menu save operation.
  • Thanks to WPScan team for pointing these out.
  • WP 5.8 compatibility.

1.9.6

  • Updated the audio player for iOS 10 safari.
  • Совместим с WordPress 4.6.

1.9.5

  • Bugfix — Audio player embedded with the «autoplay» flag (in the default template) wasn’t changing the pause button icon to a play button icon after the audio file finished playing.

1.9.4

  • WordPress 4.4 compatibility.

1.9.3

  • Corrected a typo in the play button image file name.
  • changed the uniqid() function to use the «more_entropy» parameter so the value is more unique.
  • Fixed a minor bug with internet explorer.

1.9.2

  • Fixed a minor bug (new player template1) with the «loops» parameter.

1.9.1

  • Fixed a minor bug in the new player template1 with the «autoplay» parameter.

1.9 — Added a new shortcode for a different audio player with seek bar and volume control in the player. The documentation has usage details of this new shortcode.

1.8 — Added the option to specify both an .mp3 and .ogg version of the audio file in the shortocode.

1.7 — WordPress 3.8 compatibility

1.6 — Added an option to disable simultaneous playback. It will automatically stop the audio file that is currently playing when a user plays a new file.

1.5 — added a auto loop parameter option in the shortcode to automatically loop the audio file

1.4 — added a volume parameter option in the shortcode so you can specify the volume of the audio

1.3 — Added the autoplay option in the shortcode.

1.2 — added the ability to spcify a container class via the shortcode (helpful for CSS customization)

1.1-исправлена незначительная ошибка javascript