add markdown embed instructions.

This commit is contained in:
Thomas Zarebczan 2020-05-04 16:57:18 -04:00 committed by GitHub
parent 7561915a50
commit c0c09fcb67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,6 +21,16 @@ Here's a sample lbry.tv iframe embed, generated by follow the above steps for th
<iframe width="560" height="315" src="https://lbry.tv/$/embed/meetlbrytv/c6c0a5caa6cc391696e1270e33cd9d24ee7c2d52" allowfullscreen></iframe>
## Embed videos in markdown posts on LBRY
You can also embed a LBRY URL in your markdown (.md) posts on LBRY. It can be a vanity, canonical, or permanent URL. See sample markdown on our [lbry.tv blog post about embeds](https://open.lbry.com/@lbry:3f/embedforscience:0). It will open in the pop out player if available, or navigate to video page if not (actual embedding in this case to come later).
Syntax inside markdown file:
```
<iframe src="lbry://@lbry#3f/befreeonlbry#5"></iframe>
```
## What else do I need to know?
1. When an embedded video is played, it will count as a view for your content.