forked from friendica/friendica-addons
Compare commits
4 commits
6c43a14198
...
7a7dbb579d
Author | SHA1 | Date | |
---|---|---|---|
Tobias Diekershoff | 7a7dbb579d | ||
loma-one | 712edf4236 | ||
Tobias Diekershoff | 5c0cddfc1d | ||
loma-one | 3dc77b2102 |
|
@ -96,6 +96,8 @@ function invidious_render(array &$b)
|
|||
$b['html'] = preg_replace("~https?://(?:www\.)?youtube\.com/watch\?v=(.*?)~ism", $server . '/watch?v=$1', $b['html']);
|
||||
$b['html'] = preg_replace("~https?://(?:www\.)?youtube\.com/embed/(.*?)~ism", $server . '/embed/$1', $b['html']);
|
||||
$b['html'] = preg_replace("~https?://(?:www\.)?youtube\.com/shorts/(.*?)~ism", $server . '/shorts/$1', $b['html']);
|
||||
$b['html'] = preg_replace ("/https?:\/\/music.youtube.com\/(.*?)/ism", $server . '/watch?v=$1', $b['html']);
|
||||
$b['html'] = preg_replace ("/https?:\/\/m.youtube.com\/(.*?)/ism", $server . '/watch?v=$1', $b['html']);
|
||||
$b['html'] = preg_replace("/https?:\/\/youtu.be\/(.*?)/ism", $server . '/watch?v=$1', $b['html']);
|
||||
|
||||
if ($original != $b['html']) {
|
||||
|
|
|
@ -1293,6 +1293,8 @@ function unicode_smilies_smilies(array &$b)
|
|||
Smilies::add($b, ':microscope:', '🔬');
|
||||
Smilies::add($b, ':telescope:', '🔭');
|
||||
Smilies::add($b, ':satellite antenna:', '📡');
|
||||
Smilies::add($b, ':asterism:', '⁂');
|
||||
Smilies::add($b, ':outlines white star:', '⚝');
|
||||
|
||||
// medical
|
||||
Smilies::add($b, ':syringe:', '💉');
|
||||
|
|
Loading…
Reference in a new issue