Support for SermonSpeaker 3.x is canceled as it is for Joomla 1.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 4.x, which is better anyway.

Upgrade JW Player

More
30 Aug 2011 21:58 #996 by Scott
Replied by Scott on topic Re: Upgrade JW Player
I'm having some problems implementing the change to JW Embedder. I changed line 52 in the view.html.php file to the following:

$document->addScript(JURI::root()."/com_sermonspeaker/media/player/jwplayer.js");

I then added the following in the helper file:

Code:
<script type="text/javascript"> jwplayer('mediaplayer').setup({ 'id': 'player1', 'width': '<?php echo $params->get('mp_width'); ?>', 'height': '<?php echo $params->get('mp_height'); ?>', 'file': '<?php echo $lnk; ?>', 'image': '/thumbs/picture.jpg', 'dock': 'true', 'skin':'components/com_sermonspeaker/media/player/skins/slim/slim.xml', 'plugins':'fbit-1', 'fbit.link': 'http://www.dbbc.org' 'modes': [ {type: 'html5'}, {type: 'flash', src: 'player.swf'}, {type: 'download'} ] }); </script>


I the browser just says that the Javascript needs to be loaded. I got the script reference directly from the JW Embedder reference guide.

I really want to utilize the failover features of the upgraded player so that if someone is using an iPad they can view the videos.

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

More
31 Aug 2011 08:00 #1002 by Thomas Hunziker

jwplayer('mediaplayer')

means that it will try to load the player into the 'mediaplayer' container. SermonSpeaker usually uses 'mediaspace1' as the container, while the number may change if there is more than one player one a page.

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

More
31 Aug 2011 16:43 - 31 Aug 2011 17:32 #1007 by Scott
Replied by Scott on topic Re: Upgrade JW Player
I'm getting the same error.
Code:
<script type="text/javascript"> jwplayer('mediaspace1').setup({ 'id': 'player1', 'width': '<?php echo $params->get('mp_width'); ?>', 'height': '<?php echo $params->get('mp_height'); ?>', 'file': '<?php echo $lnk; ?>', 'image': '/thumbs/picture.jpg', 'dock': 'true', 'skin':'components/com_sermonspeaker/media/player/skins/slim/slim.xml', 'plugins':'fbit-1', 'fbit.link': 'http://www.dbbc.org' 'modes': [ {type: 'html5'}, {type: 'flash', src: 'player.swf'}, {type: 'download'} ] }); </script>


Could you take a look at my code?
Last edit: 31 Aug 2011 17:32 by Thomas Hunziker.

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

More
31 Aug 2011 17:31 #1011 by Thomas Hunziker
It's a bit hard to debug a code which I don't have access to :-)
I can however show the resulting javascript code I have on my testing site. You code should look similar on the page.
Code:
<script type="text/javascript"> jwplayer("mediaspace1").setup({ flashplayer: "http://joomla16.hopto.org/media/com_sermonspeaker/player/jwplayer/player.swf", file: "http://joomla16.hopto.org/images/meine_identitt_in_jesus_christus.mp3", autostart: true, duration: 2174, image: "http://joomla16.hopto.org/components/com_sermonspeaker/media/default_speaker.jpg", controlbar: "bottom", width: "250px", height: "23px" }); </script>

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

More
31 Aug 2011 17:33 #1012 by Thomas Hunziker
One thing I see is missing is the URL to the Flashplayer. :-)

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

Time to create page: 0.101 seconds
Powered by Kunena Forum