i have an error when I try to upgrade v1.1.0 to v1.1.2
0_1470912978713_Capture d’écran 2016-08-11 à 12.55.06.png
I am using benlulbar/nodebb docker package.
Do you think it is an error on my database, or on the migration script code ?
Reproduced the issue. Bloody regex. Will see if it's easy to fix.
This is now fixed. Update the plugin to latest 0.4.2.
Restart your forum. Then clear cache.
@a_5mith I restarted my forums, then cleared my browser cache if that's what you were referring to. I'm still getting the same results? Or did I misinterpret what clearing the cache meant.
Ah, my mistake, I forgot about the rel=nofollow that's now a thing. Give me a moment to add that back in. I completely rewrote the regex for the update.
It worked for me because I have nofollow turned off.
Can you try 0.4.3 and let me know how that goes. I think I've covered most possible links. Same as before, restart forum, then Ctrl + F5 the page to refresh cache.
There's two that won't work, but they'll be quite rare. If a URL ends with &feature=related then it won't embed. It will if it's the first parameter in the URL (
The other links that don't work are links that the user removes the www. from. If it's pasted straight from youtube, it'll work.
I will take a further look at it at some point, but it should now capture most URLs. Fingers crossed.
@a_5mith Still not working it seems. I copy the link from youtube through the share box like this:
Can you paste the post's markdown for @a_5mith to debug?
#### Day 7 Finals [Day 7 Finals](https://youtu.be/BtUjV47ownU) #### Day 7 Finals MD M. Ahsan/Hendra Setiawan vs Liu Xiaolong/Zihan Qiu [Day 7 Finals MD M. Ahsan/Hendra Setiawan vs Liu Xiaolong/Zihan Qiu](https://youtu.be/H_Djd_teJVw) #### Day 7 Finals MS Lee Chong Wei vs Chen Long [Day 7 Finals MS Lee Chong Wei vs Chen Long](https://youtu.be/DHldrixwTFw) #### Day 7 Finals XD Liu Cheng/Bao Yixin vs Zhang Nan/Zhao Yunlei [Day 7 Finals XD Liu Cheng/Bao Yixin vs Zhang Nan/Zhao Yunlei](https://youtu.be/a6ZdVjmzZMo) #### Day 7 Finals WD Zhao Yunlei/Tian Qing vs Christina Ped./Kamila R. Juhl [Day 7 Finals WD Zhao Yunlei/Tian Qing vs Christina Ped./Kamila R. Juhl](https://youtu.be/TUhFCkLw7U4) #### Day 7 Finals WS Carolina Marin vs Saina Nehwal [Day 7 Finals WS Carolina Marin vs Saina Nehwal](https://youtu.be/OAxIy8Hw6_k)
Does it work if you just paste the link directly? Without markdown.
0.4.4, have tested it with your videos, now works.
The problem is still persisting and thought it was originally because of custom CSS. It seems that no one else is having this issue but me.
Anyone have an idea what could be going on with the videos?
@hukadan The strange thing is though is that when I edit and submit the current post the videos are fine and works. However upon refreshing the page again it goes back to the way it was.
I do not have a custom header but, I do have a custom sidebar which by the looks of it does not seem to affect the links.
This is a head scratcher for me
@SimonQ I am not using the last version of this plugin (I made a fork when the regex issue arised) so I could not reproduce your problem. So I just tried on a testing version of the forum I am in charge and I observe the same behaviour. So it is not just you. I suppose it is a question of tweaking the css though. I will try to have look but I am VERY far to be an expert.