Hi Marsu
The only supported way would be to directly link to the file instead of linking to the detailpage. On most systems this will open a local player and play the file. This would be an option in SermonSpeaker.
If you rather want a popup player button, you would have to edit the file /components/com_sermonspeaker/views/sermons/tmpl/default.php.
Code:
<?php echo SermonspeakerHelperSermonspeaker::insertPopupButton($row->id, $ret); ?>
Would create a button for the popup player. "$ret" should contain the width and height for the popup in the format "height/width", like "100/200".
Or you could also directly link to the popup view with the javascript (and php):
Code:
onclick="popup=window.open('<?php echo JRoute::_('index.php?view=sermon&layout=popup&id='.$row->id.'&tmpl=component'); ?>', 'PopupPage', 'height=100,width=200,scrollbars=yes,resizable=yes'); return false"