summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2019-10-05 18:32:14 +0100
committerdakkar <dakkar@thenautilus.net>2019-10-05 18:34:12 +0100
commit6d5c07c0ef3cf85b0e332921ae16c43edb911d08 (patch)
tree0de0bf60cd51572acf8ff8088e3fc0f483dec3e7 /src
parentsugihara (diff)
downloadthenautilus-6d5c07c0ef3cf85b0e332921ae16c43edb911d08.tar.gz
thenautilus-6d5c07c0ef3cf85b0e332921ae16c43edb911d08.tar.bz2
thenautilus-6d5c07c0ef3cf85b0e332921ae16c43edb911d08.zip
new video directive
Diffstat (limited to 'src')
-rw-r--r--src/modelli/sugihara-impossible-objects/document.en.rest.txt10
-rw-r--r--src/modelli/sugihara-impossible-objects/document.it.rest.txt10
-rw-r--r--src/modelli/tachikoma/document.en.rest.txt7
-rw-r--r--src/modelli/tachikoma/document.it.rest.txt7
4 files changed, 22 insertions, 12 deletions
diff --git a/src/modelli/sugihara-impossible-objects/document.en.rest.txt b/src/modelli/sugihara-impossible-objects/document.en.rest.txt
index c8f9183..24ce4be 100644
--- a/src/modelli/sugihara-impossible-objects/document.en.rest.txt
+++ b/src/modelli/sugihara-impossible-objects/document.en.rest.txt
@@ -12,11 +12,11 @@ objects. He had brought some examples, and I took pictures.
An arrow that always points to the right:
-.. raw:: html
-
- <video controls loop playsinline width="320" height="240">
- <source src="arrow.mp4" type="video/mp4">
- </video>
+.. video:: arrow.mp4
+ :loop: true
+ :type: video/mp4
+ :width: 320
+ :height: 240
This is what it looks like when viewed from above:
diff --git a/src/modelli/sugihara-impossible-objects/document.it.rest.txt b/src/modelli/sugihara-impossible-objects/document.it.rest.txt
index 36c14a4..76671ed 100644
--- a/src/modelli/sugihara-impossible-objects/document.it.rest.txt
+++ b/src/modelli/sugihara-impossible-objects/document.it.rest.txt
@@ -13,11 +13,11 @@ fatto foto.
Una freccia che punta sempre a destra:
-.. raw:: html
-
- <video controls loop playsinline width="320" height="240">
- <source src="arrow.mp4" type="video/mp4">
- </video>
+.. video:: arrow.mp4
+ :loop: true
+ :type: video/mp4
+ :width: 320
+ :height: 240
Vista dall'alto, si presenta così:
diff --git a/src/modelli/tachikoma/document.en.rest.txt b/src/modelli/tachikoma/document.en.rest.txt
index 89bf4ba..c9bdb0a 100644
--- a/src/modelli/tachikoma/document.en.rest.txt
+++ b/src/modelli/tachikoma/document.en.rest.txt
@@ -32,7 +32,12 @@ Was it worth it? See for yourself:
:alt: LEGO Tachikoma, from behind
:target: back.jpg
-Also, `a short movie of the model in action <moving.mp4>`_.
+Also, a short movie of the model in action:
+
+.. video:: moving.mp4
+ :type: video/mp4
+ :width: 320
+ :height: 240
.. [*] if you don't know what a Tachikoma is, `Wikipedia can help
<http://en.wikipedia.org/wiki/Tachikoma>`_
diff --git a/src/modelli/tachikoma/document.it.rest.txt b/src/modelli/tachikoma/document.it.rest.txt
index 29e352e..bedebb8 100644
--- a/src/modelli/tachikoma/document.it.rest.txt
+++ b/src/modelli/tachikoma/document.it.rest.txt
@@ -33,7 +33,12 @@ Ne è valsa la pena? Guardate qua:
:alt: Tachikoma LEGO, da dietro
:target: back.jpg
-Inoltre, `un breve filmato del modello in azione <moving.mp4>`_.
+Inoltre, un breve filmato del modello in azione:
+
+.. video:: moving.mp4
+ :type: video/mp4
+ :width: 320
+ :height: 240
.. [*] se non sapete cosa sia un Tachikoma, `Wikipedia aiuta
<http://en.wikipedia.org/wiki/Tachikoma>`_