fatal error jwplayer7

More
26 Jul 2023 20:55 #8135 by egkaleo
In the backend opening a sermon returns this error:

Fatal error: Declaration of PlgSermonspeakerJwplayer7::onGetPlayer($context, &$player, $items, $config) must be compatible with SermonspeakerPluginPlayer::onGetPlayer($context, $player, $items, $config) in /home/u74460p72314/domains/kaleo.nl/public_html/mm4/plugins/sermonspeaker/jwplayer7/jwplayer7.php on line 74 FatalError HTTP 500 Whoops, looks like something went wrong.Compile Error: Declaration of PlgSermonspeakerJwplayer7::onGetPlayer($context, &$player, $items, $config) must be compatible with SermonspeakerPluginPlayer::onGetPlayer($context, $player, $items, $config)
  • Exception
  • Stack Trace
Symfony\Component\ErrorHandler\Error\FatalError
in  /home/u74460p72314/domains/kaleo.nl/public_html/mm4/plugins/sermonspeaker/jwplayer7/jwplayer7.php  (line 74)
  1. Code:
         *                                            - awidth, aheight (width and height for audio)
  2. Code:
         *                                            - vwidth, vheight (width and height for video)
  3. Code:
         *
  4. Code:
         * @return  void
  5. Code:
         */
  6. Code:
        public function onGetPlayer($context, &$player, $items, $config)
  7. Code:
        {
  8. Code:
            $this->player = $player;
  9.  
  10. Code:
            // There is already a player loaded
  11. Code:
            if ($this->player->mspace)

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

More
26 Jul 2023 20:57 #8136 by Thomas Hunziker
jwplayer 7 most likely doesn't work with Joomla 4 and SermonSpeaker 6. That is because they don't offer a free player anymore and I can't develop it without paying for a license.

You will have to use the mediaelement player:
github.com/Bakual/SermonSpeaker/releases...ker_mediaelement.zip

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

More
26 Jul 2023 21:15 #8138 by egkaleo
Replied by egkaleo on topic fatal error jwplayer7
The issue is solved.
This is also a nice player!
The following user(s) said Thank You: Thomas Hunziker

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

Time to create page: 0.110 seconds
Powered by Kunena Forum