Skip to content

Commit

Permalink
Document embed media only
Browse files Browse the repository at this point in the history
  • Loading branch information
Wikidepia committed Mar 18, 2024
1 parent f9cd70d commit 88b362b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
Binary file added .github/assets/media_only.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ InstaFix serves fixed Instagram image and video embeds. Heavily inspired by [fxt

## How to use

Add `dd` before `instagram.com` to show Instagram embeds.
- Add `dd` before `instagram.com` to show Instagram embeds, or

### Embed Media Only

Add `d.dd` before `instagram.com` to show only the media.

![](.github/assets/media_only.jpg)

## Deploy InstaFix yourself (locally)

Expand Down
4 changes: 3 additions & 1 deletion views/home.jade
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ html(lang="en")
section
header
h3(style="margin-bottom: 4px") How to Use
p Add dd before instagram.com to fix embeds.
ul
li Add dd before instagram.com to fix embeds, or
li To get direct media embed, add `d.dd` before `instagram.com`.
video(src="https://user-images.githubusercontent.com/72781956/168544556-31009b0e-62e8-4d4c-909b-434ad146e118.mp4", controls="controls", muted="muted", style="width: 100%; max-height: 100%")
| Your browser does not support the video tag.
hr
Expand Down
6 changes: 5 additions & 1 deletion views/home.jade.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 88b362b

Please sign in to comment.