Logo of SermonSpeaker Extension Claim

Login Form

× 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
7 years 3 weeks ago #996 by Scott
Replied by Scott on topic 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:

	<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
7 years 3 weeks ago #1002 by Thomas Hunziker
Replied by Thomas Hunziker on topic Upgrade JW Player

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.

Feel free to rate SermonSpeaker on JED .
Useful documentation for beginners: First Steps & FAQ
How to say "Thank You!": Contribute or support using the Donate button at the bottom of each page.

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

More
7 years 3 weeks ago - 7 years 3 weeks ago #1007 by Scott
Replied by Scott on topic Upgrade JW Player
I'm getting the same error.
<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: 7 years 3 weeks ago by Thomas Hunziker.

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

More
7 years 3 weeks ago #1011 by Thomas Hunziker
Replied by Thomas Hunziker on topic Upgrade JW Player
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.
<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>

Feel free to rate SermonSpeaker on JED .
Useful documentation for beginners: First Steps & FAQ
How to say "Thank You!": Contribute or support using the Donate button at the bottom of each page.

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

More
7 years 3 weeks ago #1012 by Thomas Hunziker
Replied by Thomas Hunziker on topic Upgrade JW Player
One thing I see is missing is the URL to the Flashplayer. :-)

Feel free to rate SermonSpeaker on JED .
Useful documentation for beginners: First Steps & FAQ
How to say "Thank You!": Contribute or support using the Donate button at the bottom of each page.

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

Time to create page: 0.119 seconds
Powered by Kunena Forum