Repository navigation
Commit 6b75f67
committed
feat(play): a video from the chat plays from its link at once, and is fetched whole only for Download (#92)
The page that frames the play page can give a video's or a recording's address instead of its
bytes ({ type: 'links' }). The activity is built with it left there (h5p-author 0.16.0's linked)
and plays at once. Such a package is a preview, its address expiring, so Download asks the
framing page for the bytes ({ type: 'needs-bytes' }), shows them coming under the stage while the
activity plays on, builds the package with the file in it, saves it and sends it as built. While
a framing page may still answer, the question for the person's file waits a moment, so it does
not flash up. The author pin moves to 0.16.0.1 parent 6acef1c commit 6b75f67
6 files changed
Lines changed: 216 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1133 | 1133 | | |
1134 | 1134 | | |
1135 | 1135 | | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
1136 | 1144 | | |
1137 | 1145 | | |
1138 | 1146 | | |
1139 | 1147 | | |
1140 | 1148 | | |
| 1149 | + | |
1141 | 1150 | | |
1142 | 1151 | | |
1143 | 1152 | | |
1144 | 1153 | | |
1145 | 1154 | | |
1146 | 1155 | | |
1147 | 1156 | | |
| 1157 | + | |
1148 | 1158 | | |
1149 | 1159 | | |
1150 | 1160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
58 | 66 | | |
59 | 67 | | |
0 commit comments