Title: LiveCodes Embed
Author: Hatem Hosny
Published: <strong>16 ກໍລະກົດ 2026</strong>
Last modified: 16 ກໍລະກົດ 2026

---

ຄົ້ນຫາປລັກອິນ

![](https://ps.w.org/livecodes-embed/assets/banner-772x250.png?rev=3610277)

![](https://ps.w.org/livecodes-embed/assets/icon.svg?rev=3610277)

# LiveCodes Embed

 ໂດຍ [Hatem Hosny](https://profiles.wordpress.org/hatemhosny/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/livecodes-embed.1.0.0.zip)

 * [ລາຍລອຽດ](https://lo.wordpress.org/plugins/livecodes-embed/#description)
 * [ການຣີວິວ](https://lo.wordpress.org/plugins/livecodes-embed/#reviews)
 * [ການພັດທະນາ](https://lo.wordpress.org/plugins/livecodes-embed/#developers)

 [ການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/livecodes-embed/)

## ຄຳອະທິບາຍ

[LiveCodes](https://livecodes.io) is a free, open-source, feature-rich, client-side
code playground supporting 90+ languages and frameworks.

This plugin registers livecodes.io as a trusted [oEmbed](https://oembed.com) provider,
so embedding a playground is as simple as pasting its URL into the editor:

 1. In LiveCodes, click **Share** -> “Get short URL”, and copy the share URL (or use
    any playground/project URL).
 2. Paste the URL on its own line in the WordPress editor.
 3. The URL is automatically replaced with a live, interactive playground.

A **LiveCodes** entry is also added to the block inserter (a variation of the core
Embed block), so you can add an embed explicitly instead of pasting.

Features:

 * Works in the block editor (Gutenberg) and the classic editor.
 * No configuration, no settings page, no data stored.
 * Supports versioned/permanent URLs (e.g. `https://v47.livecodes.io/?x=…`).
 * Filters (`livecodes_embed_url_pattern`, `livecodes_embed_provider_endpoint`) 
   for [self-hosted](https://livecodes.io/docs/features/self-hosting) LiveCodes 
   instances.

### External services

This plugin connects to the LiveCodes oEmbed API to render embeds. When a LiveCodes
URL is embedded in a post, your WordPress server sends that URL to `https://livecodes.
io/oembed` to retrieve the embed HTML. The published page then loads the interactive
playground from livecodes.io in visitors’ browsers, which transmits standard HTTP
request data (such as IP address and user agent) to livecodes.io.

This happens only for posts that contain LiveCodes embeds. No other data is collected
or transmitted by this plugin.

Service provider: LiveCodes — [Terms](https://github.com/live-codes/livecodes/blob/develop/docs/docs/tos.mdx)—
[Privacy policy](https://github.com/live-codes/livecodes/blob/develop/docs/docs/privacy.mdx)

## ພາບໜ້າຈໍ

[⌊Pasting a LiveCodes share URL into the editor.⌉⌊Pasting a LiveCodes share URL 
into the editor.⌉[

Pasting a LiveCodes share URL into the editor.

[⌊The embedded interactive playground in a published post.⌉⌊The embedded interactive
playground in a published post.⌉[

The embedded interactive playground in a published post.

[⌊The LiveCodes block in the inserter.⌉⌊The LiveCodes block in the inserter.⌉[

The LiveCodes block in the inserter.

## ຄຳຖາມທີ່ພົບເລື້ອຍ

### Which URLs can be embedded?

Playground URLs on livecodes.io and its versioned subdomains, including share URLs(`
https://livecodes.io/?x=…`). Documentation and blog URLs are intentionally not embedded
and remain plain links.

### How do I customize the embedded playground?

[Configure](https://livecodes.io/docs/configuration/configuration-object) the playground(
theme, layout, active editor, tools pane, etc.) before sharing, or using [URL query params](https://livecodes.io/docs/configuration/query-params/);
the share URL preserves your configuration. See the [embeds documentation](https://livecodes.io/docs/features/embeds)
for details.

### Can I use a self-hosted LiveCodes instance?

Yes. Use the `livecodes_embed_url_pattern` and `livecodes_embed_provider_endpoint`
filters to point the plugin at your instance and its oEmbed endpoint (included in
the official [docker setup](https://livecodes.io/docs/advanced/docker)). Example:

    ```
    add_filter( 'livecodes_embed_url_pattern', function () {
        return '!^https?://livecodes\.example\.com/.*$!i';
    } );
    add_filter( 'livecodes_embed_provider_endpoint', function () {
        return 'https://livecodes.example.com/oembed';
    } );
    ```

### The embed shows as a plain link. Why?

Most commonly: WordPress caches oEmbed responses per post, so re-save the post after
activating the plugin. Also note that some security-hardening plugins and strict
Content-Security-Policy setups block third-party iframes entirely; check your site’s`
frame-src`/`child-src` CSP directives and security plugin settings.

### Does this plugin collect any data?

No. It has no settings, stores nothing, and only talks to livecodes.io when rendering
an embed (see “External services”).

## ການຣີວິວ

ບໍ່ມີການຣີວິວສຳລັບປລັກອິນນີ້.

## ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ

“LiveCodes Embed” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມໃນ
ການພັດທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ

 *   [ Hatem Hosny ](https://profiles.wordpress.org/hatemhosny/)

[ແປ “LiveCodes Embed” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/livecodes-embed)

### ສົນໃຈຮ່ວມພັດທະນາບໍ່?

[ເບິ່ງລະຫັດ](https://plugins.trac.wordpress.org/browser/livecodes-embed/), ກວດເບິ່ງ
[ຄັງເກັບ SVN](https://plugins.svn.wordpress.org/livecodes-embed/), ຫຼື ຕິດຕາມ [ບັນທຶກການພັດທະນາ](https://plugins.trac.wordpress.org/log/livecodes-embed/)
ຜ່ານ [RSS](https://plugins.trac.wordpress.org/log/livecodes-embed/?limit=100&mode=stop_on_copy&format=rss).

## ບັນທຶກການປ່ຽນແປງ

#### 1.0.0

 * Initial release: registers livecodes.io as a trusted oEmbed provider and adds
   a LiveCodes block variation to the editor.

## ຂໍ້ມູນກຳກັບ (Meta)

 *  ເວີຊັນ **1.0.0**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **3 ເດືອນ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **ໜ້ອຍກວ່າ 10**
 *  ເວີຊັນ WordPress ** 5.6 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **7.0.7**
 *  ເວີຊັນ PHP ** 7.2 ຫຼື ສູງກວ່າ **
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/livecodes-embed/)
 * ແທັກ
 * [code](https://lo.wordpress.org/plugins/tags/code/)[embed](https://lo.wordpress.org/plugins/tags/embed/)
   [oembed](https://lo.wordpress.org/plugins/tags/oembed/)[playground](https://lo.wordpress.org/plugins/tags/playground/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/livecodes-embed/advanced/)

## ການໃຫ້ຄະແນນ

ຍັງບໍ່ມີການສົ່ງຄຳວິຈານເທື່ອ.

[ການທົບທວນຂອງທ່ານ](https://wordpress.org/support/plugin/livecodes-embed/reviews/#new-post)

[ເບິ່ງທັງໝົດ ການຣີວິວ](https://wordpress.org/support/plugin/livecodes-embed/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ

 *   [ Hatem Hosny ](https://profiles.wordpress.org/hatemhosny/)

## ການຊ່ວຍເຫຼືອ

ມີຄຳຖາມ ຫຼື ຕ້ອງການຄວາມຊ່ວຍເຫຼືອບໍ່?

 [ເບິ່ງຟໍຣັມການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/livecodes-embed/)

## ບໍລິຈາກ

ເຈົ້າຕ້ອງການສະໜັບສະໜູນການພັດທະນາຂອງປລັກອິນນີ້ບໍ່?

 [ ບໍລິຈາກໃຫ້ປລັກອິນນີ້ ](https://ko-fi.com/hatemhosny)