Skip to content

Commit 01e5365

Browse files
atsansoneTony Sansone
authored and
Tony Sansone
committed
Add Dart PT-BR Course (dart-lang#5514)
Fixes dart-lang#4165
1 parent fa5116b commit 01e5365

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

src/_includes/yt_shims.liquid

+2
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@
22
{% assign yt-set-short = 'frameborder="0" allowfullscreen loading="lazy"' %}
33
{% assign yt-watch = 'https://www.youtube.com/watch' %}
44
{% assign yt-embed = 'https://www.youtube.com/embed' %}
5+
{% assign yt-embed-playlist = 'https://www.youtube.com/embed/playlist?list=' %}
56
{% assign yt-playlist = 'https://www.youtube.com/playlist?list=' %}
7+
{% assign yt-embed-series = 'https://www.youtube.com/embed/videoseries?list=' %}
68
{% assign yt-std-size = 'width="560" height="315"' %}

src/resources/videos.md

+18-4
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,29 @@ TODO: If the list of videos grows, consider automating this like book.md.
1717

1818
## Dart videos from Google
1919

20-
A playlist of Google-produced videos,
21-
ranging from 5-minute talks on Dart asynchrony support
20+
A playlist of Google-produced videos on Dart's capabilities.
21+
These range from 5-minute talks on Dart asynchrony support
2222
to the Dart session from Google I/O 2019.
2323

2424
<iframe
2525
{{yt-std-size}}
2626
title="Watch the talks on Dart asynchrony support"
27-
src="{{yt-playlist}}{{page.dart-playlist-id}}"
27+
src="{{yt-embed-series}}{{page.dart-playlist-id}}"
2828
{{yt-set}}>
2929
</iframe>
3030

31-
[Playlist: Dart videos](https://www.youtube.com/playlist?list={{page.dart-playlist-id}})
31+
[Playlist: Google Dart videos]({{yt-playlist}}{{page.dart-playlist-id}})
32+
33+
## Dart training course in Brazilian Portuguese
34+
35+
Nesta série de vídeos estudaremos juntos a linguagem Dart.
36+
37+
<iframe
38+
{{yt-std-size}}
39+
title="Watch the talks on Dart asynchrony support"
40+
src="{{yt-embed-series}}PLK5FPzMuRKlyiWZUUqea2Hmszhy9vUixJ"
41+
{{yt-set}}>
42+
</iframe>
43+
44+
45+
[Playlist: Dart Curso Completo]({{yt-playlist}}PLK5FPzMuRKlyiWZUUqea2Hmszhy9vUixJ)

0 commit comments

Comments
 (0)