Formatting
This commit is contained in:
parent
2c401dafa1
commit
264458531a
@ -86,7 +86,8 @@ defmodule Pleroma.Web.Metadata.Providers.TwitterCard do
|
|||||||
{:meta, [property: "twitter:player:width", content: "480"], []},
|
{:meta, [property: "twitter:player:width", content: "480"], []},
|
||||||
{:meta, [property: "twitter:player:height", content: "480"], []},
|
{:meta, [property: "twitter:player:height", content: "480"], []},
|
||||||
{:meta, [property: "twitter:player:stream", content: url["href"]], []},
|
{:meta, [property: "twitter:player:stream", content: url["href"]], []},
|
||||||
{:meta, [property: "twitter:player:stream:content_type", content: url["mediaType"]], []}
|
{:meta,
|
||||||
|
[property: "twitter:player:stream:content_type", content: url["mediaType"]], []}
|
||||||
| acc
|
| acc
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -145,7 +145,11 @@ defmodule Pleroma.Web.Metadata.Providers.TwitterCardTest do
|
|||||||
], []},
|
], []},
|
||||||
{:meta, [property: "twitter:player:width", content: "480"], []},
|
{:meta, [property: "twitter:player:width", content: "480"], []},
|
||||||
{:meta, [property: "twitter:player:height", content: "480"], []},
|
{:meta, [property: "twitter:player:height", content: "480"], []},
|
||||||
{:meta, [property: "twitter:player:stream", content: "https://pleroma.gov/about/juche.webm"], []},
|
{:meta,
|
||||||
|
[
|
||||||
|
property: "twitter:player:stream",
|
||||||
|
content: "https://pleroma.gov/about/juche.webm"
|
||||||
|
], []},
|
||||||
{:meta, [property: "twitter:player:stream:content_type", content: "video/webm"], []}
|
{:meta, [property: "twitter:player:stream:content_type", content: "video/webm"], []}
|
||||||
] == result
|
] == result
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user