Embed player suitable for Twitter Cards
This commit is contained in:
parent
c984e8272a
commit
10a11f083c
5 changed files with 71 additions and 6 deletions
16
lib/pleroma/web/templates/layout/metadata_player.html.eex
Normal file
16
lib/pleroma/web/templates/layout/metadata_player.html.eex
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
|
||||
<style type="text/css">
|
||||
video {
|
||||
width:100%;
|
||||
max-width:600px;
|
||||
height:auto;
|
||||
}
|
||||
</style>
|
||||
|
||||
<%= render @view_module, @view_template, assigns %>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue