Skip to content

Commit 93d9b40

Browse files
committed
Merge branch 'master' into dev/4.0
2 parents 0a82a61 + c7110be commit 93d9b40

4 files changed

Lines changed: 39 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
An extension for phpBB that allows the user to embed content from allowed sites using a [media] BBCode, or from simply posting a supported URL in plain text.
44

5-
[![Build Status](https://github.com/phpbb-extensions/mediaembed/workflows/Tests/badge.svg)](https://github.com/phpbb-extensions/mediaembed/actions)
5+
[![Build Status](https://github.com/phpbb-extensions/mediaembed/actions/workflows/tests.yml/badge.svg)](https://github.com/phpbb-extensions/mediaembed/actions)
66
[![codecov](https://codecov.io/gh/phpbb-extensions/mediaembed/branch/master/graph/badge.svg?token=EzEFamVD12)](https://codecov.io/gh/phpbb-extensions/mediaembed)
77
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/phpbb-extensions/mediaembed/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/phpbb-extensions/mediaembed/?branch=master)
88
[![Maintainability](https://api.codeclimate.com/v1/badges/3796c133cc39216797f5/maintainability)](https://codeclimate.com/github/phpbb-extensions/mediaembed/maintainability)

collection/sites/bluesky.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
attributes:
2+
embedder:
3+
filterChain: []
4+
required: true
5+
url:
6+
filterChain: "urldecode"
7+
required: true
8+
example:
9+
- "https://bsky.app/profile/bsky.app/post/3kkrqzuydho2v"
10+
- "https://bsky.app/profile/bnewbold.net/post/3kxjq2auebs2f"
11+
extract: "#^https://(?'embedder'[.\\w]+)/oembed.*?url=(?'url'[\\w%.]+)#"
12+
homepage: "https://bsky.app/"
13+
host: "bsky.app"
14+
iframe:
15+
data-s9e-livepreview-ignore-attrs: style
16+
height: 600
17+
onload: "let c=new MessageChannel;c.port1.onmessage=e=>this.style.height=e.data+'px';this.contentWindow.postMessage('s9e:init','*',[c.port2])"
18+
src: "https://s9e.github.io/iframe/2/bluesky.min.html#<xsl:value-of select=\"@url\"/>#<xsl:value-of select=\"@embedder\"/>"
19+
width: 600
20+
name: "Bluesky"
21+
scrape:
22+
extract: "#https://(?'embedder'[.\\w]+)/oembed.*?url=(?'url'[\\w%.]+)#"
23+
match: "#/profile/[^/]+/post/.#"
24+
source: "https://embed.bsky.app/"
25+
tags: "social"

collection/sites/pastebin.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Pastebin
2+
host: pastebin.com
3+
example:
4+
- "https://pastebin.com/9jEf44nc"
5+
- "https://pastebin.com/9jEf44nc?theme=dark"
6+
extract: "#pastebin\\.com/(?!u/)(?:\\w+(?:\\.php\\?i=|/))?(?'id'\\w+)(?'dark'\\?theme=dark)?#"
7+
iframe:
8+
scrolling: "yes"
9+
width: "100%"
10+
height: "300"
11+
style: ["border:none;resize:vertical;width:100%"]
12+
src: //pastebin.com/embed_iframe/{@id}{@dark}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"composer/installers": "~1.0"
3535
},
3636
"require-dev": {
37-
"phing/phing": "2.4.*"
37+
"phing/phing": "~2.4"
3838
},
3939
"extra": {
4040
"display-name": "phpBB Media Embed PlugIn",

0 commit comments

Comments
 (0)