Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

JW player Fatal error

Go to End

6 Posts   1051 Views


Community Member, 70 Posts

15 September 2011 at 6:19pm


I have installed the JWplayer module from by putting the folder in my sites root.

this gives a fatal error when reloading admin or running dev/build:

Fatal error: Call to undefined method HTMLText::register_parser() in /Users/willbarker/Dropbox/msp/jwplayer/_config.php on line 2

Have i done it wrong? think so. is there a missing installation step? and how do i use the module once its up and running?




Community Member, 70 Posts

15 September 2011 at 6:19pm

sorry, SS 2.4.5 is what i am running that on.


Community Member, 288 Posts

15 September 2011 at 8:00pm


The method register_parser doesn't exist on the HTMLText class so you're not doing anything wrong, the module is.
I don't know what you're supposed to replace it with.


Community Member, 70 Posts

16 September 2011 at 11:24am

OK, thanks for that - I commented it out and the next two line fail as well -


So something is missing. The documentation page is supposed to be here:
but thats a 404.

I tried replacing the register_parser call like this:

based on how the youtube parser is registered. but i still don't have the button on tinymce to include the short code, so im not sure if thats working. The last part of the readme says "usage overview" - but nothing below, so i'm not sure where to go from here.

Thanks for any help getting this working,



Forum Moderator, 801 Posts

26 September 2011 at 8:42am

Hello Will, I'm sorry to say but there's no quick fixes for this module - I've marked it as unmaintained and broken.
Basically, we've open sourced it without providing the necessary framework base as well.
I don't have the bandwidth to maintain it at the moment. Feel free to look at the existing ShortcodeParser API in SilverStripe on how to make the module work again.

Sorry I can't be of more assistance!


Community Member, 70 Posts

26 September 2011 at 1:17pm

Ok, no worries Ingo, will use vimeo for now and worry about it later.

Thanks for getting back to me