Support for SermonSpeaker 5.x is in bugfix mode only, the same as it is for Joomla 3.10.
I will not add any new features to this releases.
Please upgrade to SermonSpeaker 6.x and Joomla 4.x, which is better anyway.

plg_sermonspeaker_mediaelement problem

More
29 Mar 2020 09:38 #7585 by antt7
Hi
I have got error
TypeError: document.getElementById(...) is null

in
.../media/plg_sermonspeaker_mediaelement/js/sermonspeaker.js:10
.../media/plg_sermonspeaker_mediaelement/js/sermonspeaker.js:2

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

More
29 Mar 2020 11:39 #7586 by Thomas Hunziker
Can you give me the URL of your site so I can have a look?

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

More
26 May 2020 08:14 #7635 by Ken Lee
Dear Thomas,

I encounter this problem also. On a page showing NO player, e.g. by removing the tick of Player at Columns global configuration, the element "mediaspace1" is not in the page at all. But the loading of
/media/plg_sermonspeaker_mediaelement/js/sermonspeaker.js
line 10:
document.getElementById("mediaspace1").addEventListener('play', ss_changeListItem);
causes Chrome to show error in the inspect function.
Apparently it does not harm the function, since there is no player anyway, but it looks not good.

Best Regards,
Ken

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

More
26 May 2020 09:20 #7636 by Thomas Hunziker
Ah, that helps!
I think it should be simple to solve, I'll have a look this evening.

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

More
27 May 2020 09:08 #7641 by Thomas Hunziker
I've fixed the issue in GitHub (see github.com/Bakual/SermonSpeaker/commit/3...255be6b907e4f995133e ).

The next release will contain the fix.
The following user(s) said Thank You: Ken Lee

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

Time to create page: 0.173 seconds
Powered by Kunena Forum