Support for SermonSpeaker 4.x is canceled as it is for Joomla 2.5. I will gladly assist you with minor issues but I will not fix any bugs anymore in this releases.
The fix is to upgrade to SermonSpeaker 5.x and Joomla 3.x, which is better anyway.

Audio player height

More
17 Jan 2012 20:13 #1392 by Julio Garcia
Hi, I am trying to modify the height of the audio player (or the hight of the container) but I havent found how to do it.

I am using a player skin.

I have atached an image to understand better what I need.

Any help will be appreciated.

Thanks,

Julio.
Attachments:

Please Log in or Create an account to join the conversation.

More
17 Jan 2012 20:43 #1393 by Andrei Chernyshev
you can try and use someting like this in a layout view.
Code:
$video = array ( 'type' => 'audio', 'count' => 2, 'autostart' => '0', 'awidth' => '100%', 'aheight' => '50px' ); $player = new SermonspeakerHelperPlayer($this->item,$video);

Please Log in or Create an account to join the conversation.

More
17 Jan 2012 20:45 #1394 by Thomas Hunziker
Either create your own layout like it's explained in the documentation (best approach), or adjust the default values in the player helper. File would be /components/com_sermonspeaker/helpers/player.php.
For JW Player the dimensions are set around line #145 for the single player and #199 for the playlist player:
Code:
$this->setDimensions('23px', '100%');
First value is default height and second default width.

Please Log in or Create an account to join the conversation.

More
17 Jan 2012 20:47 #1395 by Julio Garcia
Hi Andrei,

In which file I have to modify that code?

Please Log in or Create an account to join the conversation.

More
17 Jan 2012 20:58 #1396 by Julio Garcia
Hi Thomas, Do I have to add the code? I cant find the line there.

from line 129 to 156 I have this code:

$this->script = '<script type="text/javascript">'
.' jwplayer("mediaspace'.$this->count.'").setup({'
.' flashplayer: "'.$player.'",'
.' playlist: ['
.$this->playlist
.' ],'
.' "playlist.size": 60,'
.' "playlist.position": "top",'
.' autostart: '.$this->start[0].','
.' controlbar: "bottom",'
.' width: "'.$this->width.'",'
.' height: "'.$this->height.'",'
.$skin
.' events: {'
.' onPlaylistItem: function(event){'
.' var i = 0;'
.' while (document.id("sermon"+i)){'
.' document.id("sermon"+i).removeClass("ss-current");'
.' i++;'
.' }'
.' document.id("sermon"+event.index).addClass("ss-current");'
.' }'
.' }'
.' });'
.'</script>';
$this->status = 'playlist';

return;

Please Log in or Create an account to join the conversation.

More
17 Jan 2012 21:03 #1397 by Thomas Hunziker
Are you using the latest release of SermonSpeaker (4.3)? Because I was refering to this one.
You can also search for the posted code. Lines may vary sometimes depending on the editor you use.

Please Log in or Create an account to join the conversation.

Time to create page: 0.183 seconds
Powered by Kunena Forum