Skip to content

Commit dc1ea33

Browse files
committed
attempt to fix video autoplay
1 parent dbac8c0 commit dc1ea33

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

content/hardware/08.edu/solution-and-kits/alvik/tutorials/getting-started-mblock/getting-started-mblock.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -204,13 +204,15 @@ Now you’ve created your first program: Alvik will turn on the left LED for one
204204

205205
![Blink program](assets/blink.gif)
206206

207-
### ToF Sensor Example
207+
## ToF Sensor Example
208208

209209
In this second example Alvik will try to keep a constant distance from an object, moving back and forward accordingly.
210210

211-
<video width="100%" loop autoplay>
212-
<source src="assets/tof-video.mp4" type="video/mp4" />
213-
</video>
211+
<div style="text-align: center;">
212+
<video width="100%" controls="true">
213+
<source src="assets/tof-video.mp4" type="video/mp4"/>
214+
</video>
215+
</div>
214216

215217
Navigate to `Control` commands folder.
216218

content/hardware/08.edu/solution-and-kits/alvik/tutorials/getting-started/getting-started.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ If you're using a **Chromebook**, there is no installable version of the softwar
6969

7070
![Online Lab Micropython](assets/online-lab-micropython.jpg)
7171

72-
Alternatively, on par with other Arduino products, you can also program your Alvik using Arduino IDE and C++. If this is the case you can find setup instructions over at [Setting up Alvik on Arduino IDE](../setting-alvik-arduino-ide/setting-alvik-arduino-ide.md).
72+
Alternatively, on par with other Arduino products, you can also program your Alvik using Arduino IDE and C++. If this is the case you can find setup instructions over at [Setting up Alvik on Arduino IDE](https://docs.arduino.cc/tutorials/alvik/setting-alvik-arduino-ide/).
7373

7474
Now that all the previous steps have been set, let's see how to make Alvik moving across your room while avoiding objects! Let's create custom program for Alvik that:
7575

0 commit comments

Comments
 (0)