Pause other players on playback?

Permalink Browser Info Environment
Hi Steev, This is nice player. The ability to pull from an external source (AWS in my case) was extremely important as well as the ability for the user to D/L an mp3 for offline listening.

I was using the "HTML5 Audio Player Basic" block which had the ability to Pause other players on playback. Is this something that you'd consider adding to Mp3 Audio Player?

Thanks Steev

Jim

Type: Discussion
Status: Resolved
View Replies:
JimMacMillan replied on at Permalink Reply
Hi Steev, Just wondering if you have any thoughts on my request. Also, is there a place that I can set the default volume level?

Thanks

Jim
Steevb replied on at Permalink Reply
Steevb
Morning Jim,

Working on a new script that should hopefully do what you want.

Will let you know asap.

Regards
Steev
Steevb replied on at Permalink Reply
Steevb
Okay, updated player with new script and layout. Please update your version and let me know if it all works for you.

If after upgrade the page looks messy, just refresh and all should be okay!

Steev
JimMacMillan replied on at Permalink Reply
Hi Steevb, This works exactly as expected. Thank you so much. I noticed that you lowered the default volume too, which better than the previous level. Is there a way that I can allow the page editor to set the default volume level? It's not a major issue so if it's a lot of work I'm happy with it as is.
JimMacMillan replied on at Permalink Reply
Steevb I should have done one more review before posting the last message. The ability to D/L the mp3 disappeared. Definitely need that back.
Steevb replied on at Permalink Reply
Steevb
Stopping download was a feature request.

Will look into providing both options.

Bear with me and I'll look at a template option.
Steevb replied on at Permalink Reply
Steevb
Okay, updated again. Default view is as before, so no pausing other players for now and downloading is back.

Included template to prevent download and pause other players. You cannot mix templates on same page.

Looking to combine: User volume control, pausing players and download options.
Steevb replied on at Permalink Reply
Steevb
Updated package with 'templates' to allow option to download files and pause other players.

Demo: http://55web.uk/herts-web-design-development-products/concrete5-cms...

Update your your package and let me know if it all works for you, thanks.

Regards
Steev
JimMacMillan replied on at Permalink Reply
Installed and looking good and working great!

Is there a place in the code that I can set the default volume level?

Thanks Steevb

Jim
Steevb replied on at Permalink Reply
Steevb
Good news Jim,

Volume is 0 (off) to 1 (100%), I've set it to 50% (.5)

In templates/dark_bar/view.js

Line 26 - characters 4554 to 4568 - startVolume:.5
Steevb replied on at Permalink Reply
Steevb
Afternoon Jim,

Everything okay now?

Could you leave a bit of feedback for me on the review page for this version, thanks:https://www.concrete5.org/marketplace/addons/mp3-audio-player/review...

Regards
Steev
Steevb replied on at Permalink Reply
Steevb
Closing this support question.

concrete5 Environment Information

# concrete5 Version
Core Version - 8.0.3
Version Installed - 8.0.3
Database Version - 20161216000000

# concrete5 Packages
HTML5 Audio Player Basic (2.0.5), MP3 Player (1.5), PDF Viewer (1.0.1)

# concrete5 Overrides
languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/es_PE/LC_MESSAGES/messages.mo, languages/es_PE/LC_MESSAGES, languages/es_PE, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/nb_NO/LC_MESSAGES/messages.mo, languages/nb_NO/LC_MESSAGES, languages/nb_NO, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/cs_CZ/LC_MESSAGES/messages.mo, languages/cs_CZ/LC_MESSAGES, languages/cs_CZ, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/en_GB/LC_MESSAGES/messages.mo, languages/en_GB/LC_MESSAGES, languages/en_GB, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/es_PY/LC_MESSAGES/messages.mo, languages/es_PY/LC_MESSAGES, languages/es_PY, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/es_PE/LC_MESSAGES/messages.mo, languages/es_PE/LC_MESSAGES, languages/es_PE, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/nb_NO/LC_MESSAGES/messages.mo, languages/nb_NO/LC_MESSAGES, languages/nb_NO, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/cs_CZ/LC_MESSAGES/messages.mo, languages/cs_CZ/LC_MESSAGES, languages/cs_CZ, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/en_GB/LC_MESSAGES/messages.mo, languages/en_GB/LC_MESSAGES, languages/en_GB, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/es_PY/LC_MESSAGES/messages.mo, languages/es_PY/LC_MESSAGES, languages/es_PY

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - In all cases.
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
5.6.29

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, enchant, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, ionCube Loader, json, ldap, libxml, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd, odbc, openssl, pcntl, pcre, PDO, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, Reflection, session, shmop, SimpleXML, snmp, soap, sockets, SourceGuardian, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Guard Loader, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 64M
post_max_size - 30M
sql.safe_mode - Off
upload_max_filesize - 50M
ldap.max_links - Unlimited
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
opcache.max_accelerated_files - 2000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5
zend_optimizerplus.max_accelerated_files - 2000
zend_optimizerplus.max_file_size - 0
zend_optimizerplus.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.