Update embed.md (#1435)

Updated images to match the current version of the app
"lbry.tv"s changed to "Odysee.com"s
Changed example video from "Meet lbry.tv" video to "Introducing Odysee" video.
This commit is contained in:
keikari 2021-07-02 16:48:59 +03:00 committed by GitHub
parent 62c409b209
commit a25c724b60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,26 +4,26 @@ category: publisher
order: 3
---
LBRY videos can be embedded on your blog or other sites you want the video to play directly on. This is done via a simple HTML code snippet that includes an iframe to lbry.tv.
LBRY videos can be embedded on your blog or other sites you want the video to play directly on. This is done via a simple HTML code snippet that includes an iframe to Odysee.com.
## How to embed a video via an iframe
1. From the content page, click the Share button.
![](https://spee.ch/c/embed-1.jpg)
![](https://spee.ch/5/b1d1d3c0f3cc4d98.png)
2. Click the **<>** icon to show the embed snippet, and click the Copy button.
![](https://spee.ch/e/embed-2.jpg)
![](https://spee.ch/b/d34ce0643fb7725a.png)
3. Paste the embed code into your website. Depending on what platform you are using, this may require an HTML code block.
![](https://spee.ch/5/embed-3.jpg)
## What does an embed look like?
Here's a sample lbry.tv iframe embed, generated by following the above steps for the video [Meet lbry.tv](https://open.lbry.com/@lbry:3f/meetlbrytv:c?r=9PLaAYVfz6NLQa81fdSLpcvVhWm7joNV):
Here's a sample Odysee.com iframe embed, generated by following the above steps for the video [Introducing Odysee](https://open.lbry.com/@lbry:3f/odysee:7?r=9PLaAYVfz6NLQa81fdSLpcvVhWm7joNV):
<iframe width="560" height="315" src="https://lbry.tv/$/embed/meetlbrytv/c6c0a5caa6cc391696e1270e33cd9d24ee7c2d52" allowfullscreen></iframe>
<iframe id="lbry-iframe" width="560" height="315" src="https://odysee.com/$/embed/odysee/7a416c44a6888d94fe045241bbac055c726332aa?r=9PLaAYVfz6NLQa81fdSLpcvVhWm7joNV" allowfullscreen></iframe>
## Embed videos in markdown posts and comments on LBRY
You can also embed a LBRY URL in your markdown (.md) and comments 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).
You can also embed a LBRY URL in your markdown (.md) and comments posts on LBRY. It can be a vanity, canonical, or permanent URL. See sample markdown on our [Odysee.com blog post about embeds](https://odysee.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 examples inside markdown file:
@ -38,8 +38,8 @@ https://lbry.tv/befreeonlbry
## What else do I need to know?
1. When an embedded video is played, it will count as a view for your content.
1. If a user visiting the site has a lbry.tv account, their views may also [count as tips](/faq/rewards#contentview).
1. You'll be credited with an invite if the user signs up for a lbry.tv account later (and their first video play was from your embed).
1. If a user visiting the site has an Odysee.com account, their views may also [count as tips](/faq/rewards#contentview).
1. You'll be credited with an invite if the user signs up for an Odysee.com account later (and their first video play was from your embed).
## I'm in need of some assistance, can you help?