Title: Bedre innbygging av video
Author: Highrise Digital
Published: <strong>26. november, 2022</strong>
Last modified: 2. juni, 2025

---

Søk i utvidelser

![](https://ps.w.org/better-core-video-embeds/assets/banner-772x250.jpg?rev=2824570)

![](https://ps.w.org/better-core-video-embeds/assets/icon-256x256.jpg?rev=2824570)

# Bedre innbygging av video

 Av [Highrise Digital](https://profiles.wordpress.org/highrisedigital/)

[Last ned](https://downloads.wordpress.org/plugin/better-core-video-embeds.1.3.8.zip)

 * [Detaljer](https://nb.wordpress.org/plugins/better-core-video-embeds/#description)
 * [Omtaler](https://nb.wordpress.org/plugins/better-core-video-embeds/#reviews)
 *  [Installering](https://nb.wordpress.org/plugins/better-core-video-embeds/#installation)
 * [Utvikling](https://nb.wordpress.org/plugins/better-core-video-embeds/#developers)

 [Brukerstøtte](https://wordpress.org/support/plugin/better-core-video-embeds/)

## Beskrivelse

Denne utvidelsen tilbyr sideoptimalisering for sider og innlegg som har innebygget
video fra Youtube, Vimeo eller Daily Motion, og som har blitt lagt til med innbyggingsblokkene
fra WordPress-kjernen.

Without this plugin, when using the core embed block, when your page loads, lots
of external scripts and styles are loaded from the embed service, regardless of 
whether a visitor actually interacts with the embedded video.

This plugin prevents these scripts and styles from loading until the user actually
interacts with the video. It does this by replacing the video embed, on page load
with the video thumbnail image (added on Youtube, Vimeo or Daily Motion). When a
user clicks the thumbnail the embedded video, along with associated scripts and 
styles are loaded.

## Skjermbilder

 * [[
 * Example of an embedded Youtube video in a post when using Better Core Embeds

## Installasjon

 1. Log into WordPress
 2. Gå til Utvidelser, Legg til ny
 3. Search for Better Core Video Embeds
 4. Klikk Installer nå, så Aktiver
 5. Embed a Youtube and Vimeo videos into your posts as you would normally using an
    embed block, or just pasting the video URL into the editor.

## Ofte stilte spørsmål

### What does the plugin actually do?

It filters the embed block output to prevent Youtube and Vimeo scripts be loaded
on the page until a users clicks to watch a video. It does this my replacing the
normal embed markup with a video thumbnail image. When the user clicks on the image,
the embedded video is called.

### What happens to my videos if I stop using this plugin?

The plugin provides progressive enhancement, therefore if you no longer use this
plugin, your embedded videos will revert back to the default WordPress behaviour.

### Can I set a custom thumbnail, rather than the embed thumbnail?

Yes! As of version 1.3, you can set a custom thumbnail on the embed block and this
will be used as the video thumbnail or poster image on the front end of the site.

## Vurderinger

![](https://secure.gravatar.com/avatar/c3b2be979a625fdc0179345504b5d1b6ef696839bdb958248ab1a56e58b78475?
s=60&d=retro&r=g)

### 󠀁[The best in its category, but…](https://wordpress.org/support/topic/the-best-in-its-category-but/)󠁿

 [Helison S. Cruz](https://profiles.wordpress.org/detonasaurus/) 27. november, 2025
2 svar

The plugin is excellent, super optimized, and does what it promises. However, I 
believe my case might be an exception — or perhaps not — because after using it 
for another month, I noticed that my site had disappeared from YouTube’s analytics
in the external access section. I deactivated the plugin, and the site reappeared,
so something in the way the plugin works must have interfered with YouTube’s interpretation.

![](https://secure.gravatar.com/avatar/db8c37d3c2f6fee6fa5271d1d0a45b35612de00071d6d051f12d6ead171db181?
s=60&d=retro&r=g)

### 󠀁[Simply works](https://wordpress.org/support/topic/simply-works-290/)󠁿

 [jay437](https://profiles.wordpress.org/jay437/) 10. november, 2025 1 svar

It doesn’t interfere with other speed optimization plugins.

![](https://secure.gravatar.com/avatar/71bed998f5f9075c573ab98522b77322c74ef2d742a589ae51cb4098f1532360?
s=60&d=retro&r=g)

### 󠀁[Easy. Works. Great.](https://wordpress.org/support/topic/easy-great-7/)󠁿

 [Peter Ingersoll](https://profiles.wordpress.org/peteringersoll/) 21. oktober, 
2024 1 svar

Install and activate and your video embeds are better. Deactivate and your video
embeds continue to work as they always did. So go for the better! I am recommending
this at my next Meetup.

![](https://secure.gravatar.com/avatar/cc228a392440617a93bed35671560be7f4a4cf64787b205c70f9753fac4d872b?
s=60&d=retro&r=g)

### 󠀁[One of my go-to plugins](https://wordpress.org/support/topic/one-of-my-go-to-plugins-21/)󠁿

 [Emily Rapport](https://profiles.wordpress.org/eatpaintchic/) 11. oktober, 2024
1 svar

Easy to set-up and it just works. Embedded videos behave and will fill the width
of your container / group and scripts aren’t loaded until the user clicks to watch
the video. Custom thumbnails are a great update too!

![](https://secure.gravatar.com/avatar/6e402a37c9bcdf116a712228089ea79f1333da184e3d22b33c1c624566215a04?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-39057/)󠁿

 [Jesse Fisher](https://profiles.wordpress.org/jessejfisher/) 13. juni, 2024

It does exactly what it needs to out of the box, and support has been very prompt.

![](https://secure.gravatar.com/avatar/a82cfee7622c5ea708ff15ca9675ae9375cf0f7912104cd18e4e3d870b42d24f?
s=60&d=retro&r=g)

### 󠀁[Brilliant](https://wordpress.org/support/topic/brilliant-1609/)󠁿

 [motorsportprospects](https://profiles.wordpress.org/motorsportprospects/) 10. 
januar, 2024

This is a brilliant plugin that does what it does perfectly with no fuss or muss.
If you embed any videos on your site, this is a must.

 [ Les alle 11 vurderinger ](https://wordpress.org/support/plugin/better-core-video-embeds/reviews/)

## Bidragsytere og utviklere

«Bedre innbygging av video» er programvare med åpen kildekode. Følgende personer
har bidratt til denne utvidelsen:

Bidragsytere

 *   [ Highrise Digital ](https://profiles.wordpress.org/highrisedigital/)
 *   [ Mark Wilkinson ](https://profiles.wordpress.org/wpmarkuk/)

“Bedre innbygging av video” har blitt oversatt til 1 språk. Takk til [oversetterne](https://translate.wordpress.org/projects/wp-plugins/better-core-video-embeds/contributors)
for deres bidrag.

[Oversett “Bedre innbygging av video” til ditt språk.](https://translate.wordpress.org/projects/wp-plugins/better-core-video-embeds)

### Interessert i utvikling?

[Bla gjennom koden](https://plugins.trac.wordpress.org/browser/better-core-video-embeds/),
sjekk ut [SVN-repositoriet](https://plugins.svn.wordpress.org/better-core-video-embeds/),
eller abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/better-core-video-embeds/)
med [RSS](https://plugins.trac.wordpress.org/log/better-core-video-embeds/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### 1.3.8 (02/06/2025)

 * Remove the call to `wp_print_styles` directly before the block markup. This was
   adding a `<link>` element in the block with caused CSS stying issues for some.
   The CSS is still included in the `<head>` when the embed block is included on
   the page. Thanks to @markhowellsmead for reporting and helping understand this
   issue.

#### 1.3.7 (30/10/2024)

 * Ensures that better core embeds work even when they are included in a synced 
   pattern.
 * Improves the enqueuing of the JS and CSS to be more robust.

#### 1.3.6 (12/06/2024)

 * Improve the play button CSS to ensure it works with videos at aspect rations 
   other than 16:9 and 4:3.

#### 1.3.5 (28/05/2024)

 * Ensure the caption markup matches that of the original embed when the page loads.

#### 1.3.4 (02/04/2024)

 * Translation of the «Play video» button text.
 * A responsive video poster image if a custom (locally-hosted) image is chosen.
 * Width and height parameters to remotely-hosted images.
 * Thanks to Matt Radford for these updates.

#### 1.3.3 (21/03/2024)

 * Ensure (previously) live video URLs from Youtube embed correctly. Thanks for 
   @bacoords for the development on this.

#### 1.3.2 (19/03/2024)

 * Use regex instead of the domDocument for grabbing a video caption.

#### 1.3.1 (18/03/2024)

 * Added a fix which ensures special characters in video captions are outputted 
   correctly.

#### 1.3 (14/12/2023)

 * Add support for custom thumbnail or poster images for videos. These are upload
   in the block inspector.
 * Caption no longer added with JS which improves developer options.
 * Improved play button styling as well as making it an HTML button with an aria
   label for better accessibility.

#### 1.2 (07/12/2023)

 * Add a name for the wrapper CSS filter which was missing.
 * JS and CSS target using different classes.

#### 1.1.4 (22/02/2023)

 * Load the CSS and JS on all pages. Fixes problems when post content is output 
   on templates such as archives. Found when using full site editing and the query
   block.

#### 1.1.3 (21/01/2023)

 * Ensure the plugin works on videos embedded from the www or no www version of 
   a domain e.g. www.youtube.com and youtube.com.
 * Output an alt attribute on the video thumbnail image.
 * Correct the name of the Daily Motion thumbnail output filter.

#### 1.1.2 (18/01/2023)

 * Allow HTML allowed in a caption to be used with videos. Previously HTML was stripped
   from the caption.
 * Ensure that any links added to embed captions are clickable.

#### 1.1.1 (20/12/2022)

 * Fixed a bug where the

<

figcaption> element was removed when the video thumbnail was clicked.

#### 1.1 (29/11/2022)

 * Updated a bug where the CSS was not loading for some users.
 * Added support for Daily Motion videos
 * Enqueued the stylesheet using the standard `wp_enqueue_style` function rather
   than using print styles
 * Improved the way the thumbnail markup is output, making this more extensible 
   and easier for developers to modify
 * Added support for the embed caption to show beneath the thumbnail image
 * Adds the embed provider slug as a class on the thumbnail wrapper

#### 1.0 (23/11/2022)

 * Initial plugin launch added to the WP.org repository.

## Meta

 *  Versjon **1.3.8**
 *  Sist oppdatert **11 måneder siden**
 *  Aktive installasjoner **300+**
 *  WordPress-versjon ** 6.0 eller nyere **
 *  Testet opp til **6.8.5**
 *  PHP-versjon ** 7.0 eller nyere **
 *  Språk
 * [English (US)](https://wordpress.org/plugins/better-core-video-embeds/) og [Norwegian (Bokmål)](https://nb.wordpress.org/plugins/better-core-video-embeds/).
 *  [Oversett til ditt språk](https://translate.wordpress.org/projects/wp-plugins/better-core-video-embeds)
 * Stikkord
 * [embed](https://nb.wordpress.org/plugins/tags/embed/)[oembed](https://nb.wordpress.org/plugins/tags/oembed/)
   [performance](https://nb.wordpress.org/plugins/tags/performance/)[vimeo](https://nb.wordpress.org/plugins/tags/vimeo/)
   [youtube](https://nb.wordpress.org/plugins/tags/youtube/)
 *  [Avansert visning](https://nb.wordpress.org/plugins/better-core-video-embeds/advanced/)

## Vurderinger

 5 av 5 stjerner.

 *  [  11 5-star reviews     ](https://wordpress.org/support/plugin/better-core-video-embeds/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/better-core-video-embeds/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/better-core-video-embeds/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/better-core-video-embeds/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/better-core-video-embeds/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/better-core-video-embeds/reviews/#new-post)

[Se alle omtalene](https://wordpress.org/support/plugin/better-core-video-embeds/reviews/)

## Bidragsytere

 *   [ Highrise Digital ](https://profiles.wordpress.org/highrisedigital/)
 *   [ Mark Wilkinson ](https://profiles.wordpress.org/wpmarkuk/)

## Brukerstøtte

Har du noe å si? Trenger du hjelp?

 [Vis brukerstøtteforumet](https://wordpress.org/support/plugin/better-core-video-embeds/)

## Donér

Vil du støtte videreutviklingen av denne utvidelsen?

 [ Doner til denne utvidelsen ](https://example.com/)