Embedding Videos in Your Gatsby.js Sites

By Maedah Batool

After blogging for more than a decade, I have realized that a blog post is kinda incomplete without some visual treat. The process of adding images is more or less the same. However, videos and GIFs are one level up which is rendered/embedded differently in various web applications, and the embedding process may vary from one framework to another.

JAMstack (JavaScript APIs Markup) is pretty much the hot topic, and that’s why we’ve seen stupendous growth in Gatsby powered websites. Considering the growing popularity of JAMstack sites, I’ve decided to write about how you can embed videos in markdown with Gatsby.js.

Coding in markdown brings so much ease and when I tried looking for ways to embed videos in Gatsby.js through markdown pages, I couldn’t find a reasonable solution other than coding the functionality from the scratch.

Using Plugin: gatsby-remark-embed-video

One big plus of using Gatsby is that you find a growing collection of p

Source:: scotch.io

How to embed a youtube video in an angular material dialog

By Adrian Matei

Youtube logo before bookmark title

It’s easy now to recognise the youtube video bookmarks on www.bookmarks.dev, by placing the youtube logo before the title
of the bookmark:

Bookmarks list with youtube logo

Also, when you click on the youtube logo, a dialog will pop where the video is embedded and you can play it directly there.
In this blog post I will show how it is implemented.

As a reminder, the www.bookmarks.dev website
uses Angular, with angular material and bootstrap for styling.

Continue reading How to embed a youtube video in an angular material dialog

How to embed a youtube video in a angular material dialog

By Adrian Matei

Youtube logo before bookmark title

It’s easy now to recognise the youtube video bookmarks on www.bookmarks.dev, by placing the youtube logo before the title
of the bookmark:

Bookmarks list with youtube logo

Also, when you click on the youtube logo, a dialog will pop where the video is embedded and you can play it directly there.
In this blog post I will show how it is implemented.

As a reminder, the www.bookmarks.dev website
uses Angular, with angular material and bootstrap for styling.

Continue reading How to embed a youtube video in a angular material dialog

The Node.js Update #Week 40 of 2019. 4 October

By Ferenc Hamori

The Node.js Update #Week 40 of 2019. 4 October

Below you can find a collection of the most important Node.js updates, tutorials & announcements from this week – curated by RisingStack’s Node.js Developers.

Latest Node.js Updates here: 10.16.3 LTS / 12.11.1 Current

First, let’s start with “official” Node news:

Node 12.11.1 Current Release

  • build: This release fixes a regression that prevented from building Node.js using the official source tarball
  • deps: Updated small-icu data to support “unit” style in the Intl.NumberFormat API

OpenJS Foundation welcomes first Incubating project: Node Version Manager (nvm)

nvm will be the first project to enter the OpenJS Foundation’s incubation process after the merger of the JS Foundation and the Node.js Foundation. nvm is the most common and widely used method to install Node.js, and the most common tool to manage multiple installed Node.js versions.

Update Now! Node.js 8 is Not Supported from 2020.

The Node.js 8.x Maintenance LTS cycle will expire on December 31, 2019 – which means that Node 8 won’t get any more updates, bug fixes or security patches. In this article, we’ll discuss how and why you should move to newer, feature-packed, still supported versions (like Node 12 – check out the new features here).

We’re also going to pinpoint issues you might face during the migration, and potential steps you can take to ensure that everything goes well.

V8 release v7.8

This post provides a preview of some of the highlights in anticipation of the release.

  • Script streaming on preload
  • Faster object destructuring
  • Lazy source positions
  • Faster RegExp match failures
  • WebAssembly C/C++ API
  • Improved startup time

Awesome Node.js & JavaScript Tutorials:

16-Bit Virtual Machine in JavaScript 001

In this episode we begin implementing a 16-bit virtual machine from scratch in JavaScript. The concepts of computation are introduced, along with the basics of assembly language and machine code.

How to Learn Software Design and Architecture

Software Design and Architecture is pretty much it’s own field of study within the realm of computing, like DevOps or UX Design. Here’s a map describing the breadth of software design and architecture, from clean code to microkernels

Building a photo gallery app from scratch with Chakra UI

React is now one of the most battle-tested and mature front-end frameworks in the world, and Express.js is its counterpart among back-end/server frameworks. If you’re building an app today, you can’t pick a better duo than this. In this post, I will walk you through building a complete app using these two frameworks, plus Chakra UI for component styling.

Using HTTP/2 with Next.js & Express

Node.js introduced native HTTP/2 support through the http2 built-in package in its version 8 of July 2017 as an experimental feature, and as a stable one into Node.js 10 LTS.

React, Express, Node Js, and MongoDB (MERN Stack) microservices-based application deployment on Kubernetes

This article will help step by step on how we can deploy a basic microservices-based application having front-end → backend → database layer to the Kubernetes cluster as separate stand-alone entities and make them scalable.

An Unintentionally Comprehensive Introduction to GitHub Actions CI

We’re currently approaching GitHub Actions v2 shipping publicly for everyone to use. I’m personally super excited about this because it means I don’t need to configure an external service to run my CI – I can slap in some YAML, and I’m off with a cross-platform (!) CI system with multiple versions of Node.js installed.

Writing an RPC library in Node.js

In case you didn’t know, GraphQL and REST aren’t the only client-server interaction patterns in history. Yes, they are the most popular ones at the moment and with good reason! But at the beginning (especially then) one of the first ways developers started envisioning shared functionality between client and servers was using what they called Remote Procedure Call. In other words, they wanted to use remote code locally, and in the process hiding the complexities of the remote call.

8 New ES10 (ES2019) Features by Example

This is a list of (8) new ES features we will be covering here:

  • Optional Catch Binding
  • Object.fromEntries
  • Array.flat
  • Array.flatMap
  • String#{trimStart,trimEnd}
  • Dynamic Import
  • globalThis object

Deploy Node Applications on AWS Elastic Beanstalk

This article is focused around deploying a simple web application to the AWS cloud platform. We will be deploying the application to Elastic Beanstalk.

Interesting JS & Node Threads:

Where can I learn about production ready, proper architecture best practices for nodejs servers?

What is your view on the nest.js framework?

I created a ORM using Redis, suitable for microservices

Optional chaining has landed on TypeScript master branch

Announcing Gatsby’s $15M Series A Funding Round

Like what you read?

Share / like the post, and come back next week! 🙂

Source:: risingstack.com

ES proposal: public class fields

By Dr. Axel Rauschmayer

This blog post is part of a series on new members in bodies of class definitions:

  1. Public class fields
  2. Private class fields
  3. Private methods and getter/setters for JavaScript classes

This series replaces 2ality’s prior blog post on fields.


In this post, we look at public fields, which create instance properties and static properties. This feature is part of the ES proposal “Class field declarations for JavaScript” by Daniel Ehrenberg and Jeff Morrison.

Source:: 2ality