Skip to content

Commit a1a0536

Browse files
committed
Embed videos
1 parent fbdedba commit a1a0536

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

docs/user-guide/context.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ title: Working with context
55
slug: context
66
---
77

8+
<iframe width="560" height="315" src="https://www.youtube.com/embed/jLI0DcXMQOs" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
9+
10+
811
### What is context?
912

1013
Node-RED provides a way to store information that can be shared between different

docs/user-guide/messages.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ slug: messages
99
A Node-RED flow works by passing messages between nodes. The messages are simple
1010
JavaScript objects that can have any set of properties.
1111

12+
<iframe width="560" height="315" src="https://www.youtube.com/embed/z-mwVUBhcL4" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
13+
1214
Messages usually have a `payload` property - this is the default property that
1315
most nodes will work with.
1416

@@ -99,6 +101,8 @@ many properties, of which only some are needed.
99101
There are two main nodes for modifying a message, the Function node and the Change
100102
node.
101103

104+
<iframe width="560" height="315" src="https://www.youtube.com/embed/zaBmfhxEOH8" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
105+
102106
The Function node allows you to run any JavaScript code against the message. This
103107
gives you complete flexibility in what you do with the message, but does require
104108
familiarity with JavaScript and is unnecessary for many simple cases. More
@@ -156,6 +160,8 @@ For example, the Split node can turn a single message whose `payload` is an Arra
156160
into a message sequence where each message has a `payload` corresponding to one
157161
of the array elements.
158162

163+
<iframe width="560" height="315" src="https://www.youtube.com/embed/c6qXLko0n48" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
164+
159165
#### Understanding `msg.parts`
160166

161167
Each message in a sequence has a property called `msg.parts`. This is an object

0 commit comments

Comments
 (0)