Skip to content

Commit 1a19353

Browse files
Add video and audio content information
1 parent c3f460b commit 1a19353

File tree

7 files changed

+78
-2
lines changed

7 files changed

+78
-2
lines changed

README.md

Lines changed: 78 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
33
author: André Dietrich
44
5-
date: 05/03/2024
6-
version: 27.0.0
5+
date: 29/07/2024
6+
version: 28.0.0
77
language: en
88
narrator: UK English Female
99
@@ -5743,6 +5743,82 @@ I will not be translated!
57435743
You can attach these language attributes to any kind of Markdown block or inline element to control the translation.
57445744
Note that code environments and foreign language comments will be tagged automatically with no-translate.
57455745

5746+
5747+
### Comments: Multimedia
5748+
5749+
{{|>}}
5750+
> At the recent [eLearning Africa Conference 2024 in Kigali, Rwanda](https://liascript.github.io/blog/elearning-africa-2024/), we recognized that relying solely on browser-based text-to-speech output is insufficient for supporting all spoken languages and dialects.
5751+
> To enhance personalization and diversify language and content, we have introduced two highly requested types of comments, which complement the existing format. Since LiaScript version 0.15.7, you can now add audio or video recordings to your comments.
5752+
5753+
#### Audio
5754+
5755+
--{{0}}--
5756+
To play an audio file during your animation step,
5757+
simply attach the multimedia link at the end of
5758+
your comment.
5759+
?[](recording/audio_1.mp3)
5760+
5761+
``` markdown
5762+
--{{0}}--
5763+
To play an audio file during your animation step,
5764+
simply attach the multimedia link at the end of
5765+
your comment.
5766+
?[⏯](recording/audio_1.mp3)
5767+
```
5768+
5769+
--{{1}}--
5770+
?[](recording/audio_2.mp3)
5771+
Or, add it to the front.
5772+
5773+
{{1}}
5774+
``` markdown
5775+
--{{1}}--
5776+
?[⏯](recording/audio_2.mp3)
5777+
Or, add it to the front.
5778+
5779+
--{{1}}--
5780+
?[⏯](recording/audio_3.mp3)
5781+
Of course, you can also combine multiple comments.
5782+
The playback will occur in the order they appear
5783+
in the document.
5784+
```
5785+
5786+
--{{1}}--
5787+
?[](recording/audio_3.mp3)
5788+
Of course, you can also combine multiple comments.
5789+
The playback will occur in the order they appear
5790+
in the document.
5791+
5792+
5793+
#### Video
5794+
5795+
--{{0}}--
5796+
!?[](recording/video1.webm)
5797+
We had a lengthy discussion and brainstorming session on where to add video content so it remains visible without affecting the user experience.
5798+
Our solution: let the user decide.
5799+
The user can choose where to place the overlaid video and adjust its size based on their screen size, orientation, and resolution.
5800+
5801+
--{{1}}--
5802+
!?[](recording/video2.webm)
5803+
To add short video content, simply include a video link at the beginning or the end of your comment.
5804+
5805+
{{1}}
5806+
``` markdown
5807+
--{{1}}--
5808+
!?[⏯](recording/video2.webm)
5809+
To add short video content, simply include a video
5810+
link at the beginning or the end of your comment.
5811+
5812+
--{{1}}--
5813+
As before, you can combine multiple comments, which
5814+
will be replayed in sequence.
5815+
!?[⏯](recording/video3.webm)
5816+
```
5817+
5818+
--{{1}}--
5819+
As before, you can combine multiple comments, which will be replayed in sequence.
5820+
!?[](recording/video3.webm)
5821+
57465822
### Playback
57475823

57485824
--{{0}}--

recording/audio_1.mp3

109 KB
Binary file not shown.

recording/audio_2.mp3

36.7 KB
Binary file not shown.

recording/audio_3.mp3

114 KB
Binary file not shown.

recording/video1.webm

5.83 MB
Binary file not shown.

recording/video2.webm

2.36 MB
Binary file not shown.

recording/video3.webm

1.62 MB
Binary file not shown.

0 commit comments

Comments
 (0)