14 Commits

Author SHA1 Message Date
tamaina
7902ded327 なんかめっちゃ変えた 2023-12-30 08:36:01 +00:00
Kagami Sascha Rosylight
d2d8db4994
fix: use activity+json instead of activitypub+json (#11) 2023-08-06 19:30:20 +02:00
Kagami Sascha Rosylight
089a0ad8e8
feat: support <link rel=alternate type=application/activitypub+json> (#10)
* feat: support `<link rel=alternate type=application/activitypub+json>`

* Update index.ts

* build
2023-07-20 15:36:26 +09:00
Kagami Sascha Rosylight
376bba9c61
fix: give null when oEmbed access fails (#8) 2023-03-16 12:22:23 +09:00
Kagami Sascha Rosylight
eab3766db9
feat: add oEmbed support (#6)
* feat: add oEmbed support

* more safelisted features

* fix the syntax

* Update README.md

* permissions

* names

* playerを使うように

* fix type error

* support width (for size ratio)

* test for type: video

* nullable width

* restore max height test

* ignored permissions

* restore autoplay

* Use WHATWG URL

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-03-14 02:46:41 +09:00
MeiMei
30acfb520b
Improve player detection (#147)
* og:video

* Add player detection tests
2022-06-18 13:14:54 +09:00
syuilo
6fc794c0b0 🍕 2017-05-04 22:53:44 +09:00
syuilo
aa5384ad62 [Test] Add some tests 2017-02-08 21:52:08 +09:00
syuilo
ac5e6230f6 [Test] Add some twitter cards tests 2017-02-08 21:33:54 +09:00
syuilo
0e81c537e7 [Test] Add the og:site_name test 2017-02-08 17:46:40 +09:00
syuilo
9880b415de [Test] Add the og:image test 2017-02-08 17:41:49 +09:00
syuilo
c0c51027d1 [Test] いい感じにした 2017-02-08 17:27:16 +09:00
syuilo
7e3c650df2 [Test] Better sample 2017-02-08 17:23:13 +09:00
syuilo
e352fa13ad [WIP] test 2017-02-08 15:17:28 +09:00