@baris said in Upgrade from version 1.14.x to 1.15.x got error:
Upgrading these two dependencies should fix this error
"@nodebb/mubsub": "1.7.1", "@nodebb/socket.io-adapter-mongo": "3.1.1",
thanks solved.
I am using the older plugin because the "lite plugin does not work". Unable to update to 4.x in admin acp. And the the display of tubes does not work att all
I am now running the "stable" 0.7.x branch, plz advice.
Link: https://www.nodebb.se
@Jenkler said:
I am using the older plugin because the "lite plugin does not work". Unable to update to 4.x in admin acp. And the the display of tubes does not work att all
I am now running the "stable" 0.7.x branch, plz advice.
Link: https://www.nodebb.se
@julian broke it. Use 0.3.2.
I will use the old plugin until lite is fixed! Plz update med if someone fixes it
Would be nice to have a working lite in 0.7.x
But why don't use the non lite version until 4.x is fixed?
@a_5mith, @julian
Well, not completely though.
You forgot to revert the hook-change in plugin.json:
https://github.com/rbeer/nodebb-plugin-youtube-lite/commit/ca010e57054a29632a1d400d6708f5bd20f53d31
The "error throwing" part of the com-message refers to
https://github.com/rbeer/nodebb-plugin-youtube-lite/blob/master/static%2Flib%2FlazyYT.js#L21
At that point I get ratio === undefined
, yet width is also not given. Whereever this $el
comes from there, it doesn't have .dataset.ratio
, nor .dataset.width
anymore.
Can't explain why it's not showing in your ACP list. Didn't have any problems with that.
If it were working, would you prefer that Markdown hook over the post-parse one? Regarding downward compatibility, I'm hoping that there's a way to add hook handlers in an init
function, isn't there? So you could check for Markdown and from there on set the appropriate hooks.