Title: Livestream Embedder
Author: SAT
Published: <strong>7 spalio, 2024</strong>
Last modified: 7 spalio, 2024

---

Ieškoti įskiepiuose

Šis įskiepis **nebuvo išbandytas su 3 vėliausiomis WordPress versijomis**. Jis tikriausiai
nėra prižiūrimas ir palaikomas, todėl gali neveikti su naujausiomis WordPress versijomis.

![](https://ps.w.org/livestream-embedder/assets/icon-256x256.png?rev=3164234)

# Livestream Embedder

 Autorius [SAT](https://profiles.wordpress.org/stronganchortech/)

[Parsisiųsti](https://downloads.wordpress.org/plugin/livestream-embedder.1.0.0.zip)

 * [Informacija](https://lt.wordpress.org/plugins/livestream-embedder/#description)
 * [Atsiliepimai](https://lt.wordpress.org/plugins/livestream-embedder/#reviews)
 *  [Diegimas](https://lt.wordpress.org/plugins/livestream-embedder/#installation)
 * [Kūrimas](https://lt.wordpress.org/plugins/livestream-embedder/#developers)

 [Pagalba](https://wordpress.org/support/plugin/livestream-embedder/)

## Aprašymas

Livestream Embedder allows you to embed a live stream from a YouTube channel or 
the most recent video using a shortcode. You can configure the API key and channel
ID via the plugin’s settings page.

**Features:**
 * Embed a live stream or most recent video with a shortcode. * Configure
the YouTube Data API key and default channel ID via settings. * Display error messages
if no live stream is available. * Responsive video embeds.

**Note on External Services:**
 This plugin uses the YouTube iframe API and YouTube
Data API to fetch video data from YouTube and display it. Users must provide their
own YouTube API key, which is required to make requests to the YouTube Data API 
v3. The data requested includes information about the live streams or videos on 
a given YouTube channel.

By using this plugin, you agree to YouTube’s [Terms of Service](https://www.youtube.com/t/terms)
and [Privacy Policy](https://policies.google.com/privacy).

**Shortcode Usage:**

 1. To embed a live stream from a specific channel:
     [livestream_embedder channel_id
    =”CHANNEL_ID”]
 2. Replace `CHANNEL_ID` with the actual YouTube channel ID (e.g. `UCabcdefghijklmnopqrstuvwx`).
 3. If you’ve configured a default channel ID in the plugin settings, you can use the
    shortcode without the `channel_id` attribute:
     [livestream_embedder]

**How to Find the Channel ID:**

 1. Go to the YouTube channel’s page.
 2. Look at the URL in your browser’s address bar. The channel ID is the string of 
    characters after the „/channel/” part of the URL.
 3. If the channel uses a custom URL, you can find the channel ID by viewing the page
    source and searching for „channelId”.

### License

This plugin is licensed under the GPLv2 or later. You can modify and distribute 
it under the terms of the GNU General Public License as published by the Free Software
Foundation.

## Ekrano nuotraukos

[⌊Plugin Settings Page: Settings page where you enter the API key and default channel
ID.⌉⌊Plugin Settings Page: Settings page where you enter the API key and default
channel ID.⌉[

**Plugin Settings Page:** Settings page where you enter the API key and default 
channel ID.

## Diegimas

 1. Upload the plugin files to the `/wp-content/plugins/livestream-embedder` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Go to **Settings > Livestream Embedder** to configure the API key and default channel
    ID.
 4. Use the `[livestream_embedder]` shortcode in your posts or pages to embed the live
    stream.

## DUK

### How does this plugin interact with YouTube?

This plugin uses the YouTube iframe API and the YouTube Data API to fetch video 
data and display YouTube live streams or recent videos. You must provide a YouTube
API key in order to access YouTube’s video data.

### How do I get a YouTube Data API key?

You can obtain a YouTube Data API key by creating a project in the [Google Cloud Console](https://console.cloud.google.com/).
Once created, enable the YouTube Data API v3 and generate an API key.

### What happens if no live stream is available?

If no live stream is found, the plugin will attempt to load the most recent video
from the channel. If neither a live stream nor a recent video is available, an error
message will be displayed.

### Can I embed a live stream from multiple channels?

Yes, by specifying a different `channel_id` in the shortcode, you can embed live
streams from different YouTube channels.

### What is the required YouTube URL format?

For best results, use the full YouTube channel ID (e.g., `UCxyz123abcDEF`) instead
of custom URLs or names.

## Atsiliepimai

Įskiepis neturi atsiliepimų.

## Programuotojai ir komandos nariai

“Livestream Embedder” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės
surašyti toliau.

Autoriai

 *   [ SAT ](https://profiles.wordpress.org/stronganchortech/)

[Išverskite “Livestream Embedder” į savo kalbą.](https://translate.wordpress.org/projects/wp-plugins/livestream-embedder)

### Domina programavimas?

[Peržiūrėkite kodą](https://plugins.trac.wordpress.org/browser/livestream-embedder/),
naršykite [SVN repozitorijoje](https://plugins.svn.wordpress.org/livestream-embedder/),
arba užsiprenumeruokite [kodo pakeitimų žurnalą](https://plugins.trac.wordpress.org/log/livestream-embedder/)
per [RSS](https://plugins.trac.wordpress.org/log/livestream-embedder/?limit=100&mode=stop_on_copy&format=rss).

## Pakeitimų istorija

#### 1.0.0

 * Initial release.

## Metainformacija

 *  Version **1.0.0**
 *  Atnaujinta **prieš 2 metai**
 *  Aktyvių instaliacijų **30+**
 *  WordPress versija ** 5.0 ar naujesnė **
 *  Ištestuota iki **6.6.5**
 *  Kalba
 * [English (US)](https://wordpress.org/plugins/livestream-embedder/)
 * Žymos
 * [embed](https://lt.wordpress.org/plugins/tags/embed/)[livestream](https://lt.wordpress.org/plugins/tags/livestream/)
   [shortcode](https://lt.wordpress.org/plugins/tags/shortcode/)[video](https://lt.wordpress.org/plugins/tags/video/)
   [youtube](https://lt.wordpress.org/plugins/tags/youtube/)
 *  [Daugiau](https://lt.wordpress.org/plugins/livestream-embedder/advanced/)

## Įvertinimai

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/livestream-embedder/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/livestream-embedder/reviews/)

## Autoriai

 *   [ SAT ](https://profiles.wordpress.org/stronganchortech/)

## Pagalba

Turite pastabų? Reikia pagalbos?

 [Peržiūrėti pagalbos forumą](https://wordpress.org/support/plugin/livestream-embedder/)

## Paremkite

Galbūt norite padėti plėtoti šį įskiepį?

 [ Paremti įskiepio kūrimą ](https://stronganchortech.com/sponsor)