6 Commits

Author SHA1 Message Date
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
5a3321a04f
fix: allow legacy allowfullscreen (#9) 2023-04-20 12:41:11 +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
tamaina
199b247e85 3.0.1 2023-02-12 12:20:19 +00:00