Skip to content

Commit 54331a2

Browse files
committed
Use youtube shortcodes instead of iframes
1 parent 79ea70b commit 54331a2

File tree

2 files changed

+7
-31
lines changed

2 files changed

+7
-31
lines changed

content/post/fosdem-2018.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ The title of the talk is *Tools for large-scale collection and analysis of sourc
9191
[slides](https://fosdem.org/2018/schedule/event/large_scale_repo_analysis/attachments/slides/2400/export/events/attachments/large_scale_repo_analysis/slides/2400/FOSDEM_18__Tools_for_large_scale_collection_and_analysis_of_source_code_repositories.pdf)
9292
and the [video](https://www.youtube.com/watch?v=2c7QSrIL02o) are already available.
9393

94-
<iframe width="560" height="315" src="https://www.youtube.com/embed/2c7QSrIL02o" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
94+
{{% youtube 2c7QSrIL02o %}}
9595

9696
### Container Linux baremetal provisioning with Terraform, Ignition and Matchbox
9797

content/post/frontend_talks_2017.md

Lines changed: 6 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,7 @@ Users expect their apps to have smooth animations and have a fast response, whic
3939

4040
Users also expect their apps to work offline and sync in the background, as well as to have a very deep system integration: push notifications, geolocation, etc. All that can be achieved using service workers.
4141

42-
<iframe width="560"
43-
height="315"
44-
src="https://www.youtube.com/embed/yo25lpqKc-E"
45-
frameborder="0"
46-
allowfullscreen></iframe>
42+
{{% youtube yo25lpqKc-E %}}
4743

4844
### Web accessibility. How to make a frontend for everyone?, _Juanjo Montiel_
4945

@@ -65,11 +61,7 @@ With just a few guidelines we can make our web pages accessible too:
6561

6662
And many more that you can find out watching the full talk.
6763

68-
<iframe width="560"
69-
height="315"
70-
src="https://www.youtube.com/embed/EZ8KSgzUdb0"
71-
frameborder="0"
72-
allowfullscreen></iframe>
64+
{{% youtube EZ8KSgzUdb0 %}}
7365

7466
### Animate the Web with Ember.js, _Jessica Jordan_
7567

@@ -83,11 +75,7 @@ This has a few advantages like not needing DOM operations, having a good perform
8375
Then, as an alternative, we can use the WebAnimations API, which is still not supported in all browsers (but we can workaround that with a polyfill). It will be an easy experience for people already familiar with CSS3 keyframes since they are very similar. Besides, she explained how to put all that into an Ember component, as with the `canvas` HTML5 element.
8476
Even though it has worse performance compared to HTML5 canvas, the WebAnimations API makes it possible to build accessible animations and are easier for the creator.
8577

86-
<iframe width="560"
87-
height="315"
88-
src="https://www.youtube.com/embed/n-z7En2O9mQ"
89-
frameborder="0"
90-
allowfullscreen></iframe>
78+
{{% youtube n-z7En2O9mQ %}}
9179

9280
### Communication is the key to a healthy relationship: the love story of Elm and JavaScript, _Miguel Molina_
9381

@@ -100,11 +88,7 @@ Three methods of interoperability were discussed:
10088
* Ports, which are the recommended way of communicating elm and JavaScript using unidirectional inbound and outbound channels to pass messages.
10189
* Flags, which is a way to pass some initialization values or configuration from JavaScript to Elm.
10290

103-
<iframe width="560"
104-
height="315"
105-
src="https://www.youtube.com/embed/PjkABl96NcM"
106-
frameborder="0"
107-
allowfullscreen></iframe>
91+
{{% youtube PjkABl96NcM %}}
10892

10993
## Afternoon session
11094

@@ -124,11 +108,7 @@ The syntax is very conservative, that is, you cannot use any arbitrary JavaScrip
124108

125109
Sergio explained in detail how to implement decorators and what might be their use cases.
126110

127-
<iframe width="560"
128-
height="315"
129-
src="https://www.youtube.com/embed/EUHmOoJn9SM"
130-
frameborder="0"
131-
allowfullscreen></iframe>
111+
{{% youtube EUHmOoJn9SM %}}
132112

133113
### Flexible styling for highly reusable React components, _Javi Velasco_
134114

@@ -146,11 +126,7 @@ To implement all these customizations in a React component, he explored the usag
146126
* Style customization is achieved by passing the styles you want to change for every primitive in the component and then they are interpolated in the style definition, so you can override any style the component has.
147127
* Render customization is achieved using factories of components that receive custom primitives to use instead of the ones used by default in the component, which is neat because we can reuse the logic while swapping React and React-Native primitives and it all just works.
148128

149-
<iframe width="560"
150-
height="315"
151-
src="https://www.youtube.com/embed/8kOkyQoCYMQ"
152-
frameborder="0"
153-
allowfullscreen></iframe>
129+
{{% youtube 8kOkyQoCYMQ %}}
154130

155131
## After-party drinks
156132

0 commit comments

Comments
 (0)