22 | 11 | 2024
Main menu
Login/Logout
 
Contacts
Реклама
Our button

Блог Ecolora

Код:

<a href="http://www.ecolora.com" target="_blank" rel="nothing" title="Ecolora.com"><img alt="Ecolora.com" height="31" src="http://www.ecolora.com/images/ecoloracom.gif" width="88" /></a>
Who's online

We have 30 guests and no members online

Лента новостей

Newsletter
Welcome, Guest
Username: Password: Remember me
Component and plugin for musical sites / Компонент для музыкальных сайтов и улучшенная версия плагина MP3 Browser

TOPIC: Commedia with flash player of MP3browser. How to disable the Volume?

Commedia with flash player of MP3browser. How to disable the Volume? 11 years 4 months ago #6786

  • baloudalex
  • baloudalex's Avatar
  • Offline
  • Новый участник
  • Posts: 12
  • Thank you received: 1
  • Karma: 0
Hi,
I would like to use Commedia, but with the player of MP3browser. I'd like a player without possibility of modify the volume.
Is it possible ?
Last Edit: 11 years 4 months ago by admin.
The administrator has disabled public write access.

Commedia with player of MP3browser 11 years 4 months ago #6787

  • admin
  • admin's Avatar
  • Offline
  • Администратор
  • Posts: 465
  • Thank you received: 40
  • Karma: 19
So You need flash player only (mp3browser uses flash player)? It can not to play on i-Devices (Apple doesn't approve flash technology).

You can hide or disable volume in Commedia using simple hacks. You'll need to change (or cut) some code in plugins/content/commedia/commedia.php file
The administrator has disabled public write access.

Commedia with player of MP3browser 11 years 4 months ago #6788

  • baloudalex
  • baloudalex's Avatar
  • Offline
  • Новый участник
  • Posts: 12
  • Thank you received: 1
  • Karma: 0
Ok, could you tell me lines that I can erase to disable volume in the player ?

Also, I have problems with player in the popup. I can play my audio files in the board of commedia, but not in the player of the popup. When I click ok play, nothing happens... The auto play of the popup doesn't work...

I've done this settings :
- database
- jquery ON in the settings of the component
- autoplay of the popup ON in settings of the plugin

I've seen other posts on the subject. But I doesn't understand where desactivate jquery on my joomla website.
The administrator has disabled public write access.

Commedia with player of MP3browser 11 years 4 months ago #6789

  • baloudalex
  • baloudalex's Avatar
  • Offline
  • Новый участник
  • Posts: 12
  • Thank you received: 1
  • Karma: 0
With safari (last version), the popup doesn't play my files.
With chrome, it does, but it's very slow to load.
The administrator has disabled public write access.

Commedia with player of MP3browser 11 years 4 months ago #6790

  • baloudalex
  • baloudalex's Avatar
  • Offline
  • Новый участник
  • Posts: 12
  • Thank you received: 1
  • Karma: 0
I confirm that player on commedia board and popup work well with chrome,
player in popup doesn't work with safari, when i open the popup from the board, but everything work in safari (player and popup) when i use it from "more info" in safari.
Strange, doesn't it ?
The administrator has disabled public write access.

Commedia with player of MP3browser 11 years 4 months ago #6791

  • admin
  • admin's Avatar
  • Offline
  • Администратор
  • Posts: 465
  • Thank you received: 40
  • Karma: 19
If You need to disable volume, find that lines in plugins/content/commedia/commedia.php:
<div class="volcontainer">
                <div id="vol0_'.$mp3count.'" class="vol0"><div onclick="setVolume('.$mp3count.',0)"></div></div>
                <div id="_vol0_'.$mp3count.'" class="_vol0"><div onclick="setVolume('.$mp3count.',0)"></div></div>
                <div id="vol1_'.$mp3count.'" class="vol1"><div onclick="setVolume('.$mp3count.',1)"></div></div>
                <div id="_vol1_'.$mp3count.'" class="_vol1"><div onclick="setVolume('.$mp3count.',1)"></div></div>
                <div id="vol2_'.$mp3count.'" class="vol2"><div onclick="setVolume('.$mp3count.',2)"></div></div>
                <div id="_vol2_'.$mp3count.'" class="_vol2"><div onclick="setVolume('.$mp3count.',2)"></div></div>
                <div id="vol3_'.$mp3count.'" class="vol3"><div onclick="setVolume('.$mp3count.',3)"></div></div>
                <div id="_vol3_'.$mp3count.'" class="_vol3"><div onclick="setVolume('.$mp3count.',3)"></div></div>
                <div id="vol4_'.$mp3count.'" class="vol4"><div onclick="setVolume('.$mp3count.',4)"></div></div>
                <div id="_vol4_'.$mp3count.'" class="_vol4"><div onclick="setVolume('.$mp3count.',4)"></div></div>
                <div id="vol5_'.$mp3count.'" class="vol5"><div onclick="setVolume('.$mp3count.',5)"></div></div>
                <div id="_vol5_'.$mp3count.'" class="_vol5"><div onclick="setVolume('.$mp3count.',5)"></div></div>
                <div id="vol6_'.$mp3count.'" class="vol6"><div onclick="setVolume('.$mp3count.',6)"></div></div>
                <div id="_vol6_'.$mp3count.'" class="_vol6"><div onclick="setVolume('.$mp3count.',6)"></div></div>
                <div id="vol7_'.$mp3count.'" class="vol7"><div onclick="setVolume('.$mp3count.',7)"></div></div>
                <div id="_vol7_'.$mp3count.'" class="_vol7"><div onclick="setVolume('.$mp3count.',7)"></div></div>
                </div>

You need to cut every onclick event, for example:
onclick="setVolume('.$mp3count.',7)"

So Your code will become:
<div class="volcontainer">
                <div id="vol0_'.$mp3count.'" class="vol0"><div></div></div>
                <div id="_vol0_'.$mp3count.'" class="_vol0"><div></div></div>
                <div id="vol1_'.$mp3count.'" class="vol1"><div></div></div>
                <div id="_vol1_'.$mp3count.'" class="_vol1"><div></div></div>
                <div id="vol2_'.$mp3count.'" class="vol2"><div></div></div>
                <div id="_vol2_'.$mp3count.'" class="_vol2"><div></div></div>
                <div id="vol3_'.$mp3count.'" class="vol3"><div></div></div>
                <div id="_vol3_'.$mp3count.'" class="_vol3"><div></div></div>
                <div id="vol4_'.$mp3count.'" class="vol4"><div></div></div>
                <div id="_vol4_'.$mp3count.'" class="_vol4"><div></div></div>
                <div id="vol5_'.$mp3count.'" class="vol5"><div></div></div>
                <div id="_vol5_'.$mp3count.'" class="_vol5"><div></div></div>
                <div id="vol6_'.$mp3count.'" class="vol6"><div></div></div>
                <div id="_vol6_'.$mp3count.'" class="_vol6"><div></div></div>
                <div id="vol7_'.$mp3count.'" class="vol7"><div></div></div>
                <div id="_vol7_'.$mp3count.'" class="_vol7"><div></div></div>
                </div>

The same action need to make in components/com_commedia/models/commedia.php. It's More info... page.

There're the same lines there.
Last Edit: 11 years 4 months ago by admin.
The administrator has disabled public write access.
Time to create page: 0.190 seconds
for children older than 12 years