@ecl/video 5.0.0-alpha.9 → 5.0.0-aplha.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/video.html.twig +5 -5
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@ecl/video",
|
|
3
3
|
"author": "European Commission",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
|
-
"version": "5.0.0-
|
|
5
|
+
"version": "5.0.0-aplha.13",
|
|
6
6
|
"description": "ECL Video",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
"design-system",
|
|
23
23
|
"twig"
|
|
24
24
|
],
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "b5ce1b660b26e315055172169c3a7e9daa638f63"
|
|
26
26
|
}
|
package/video.html.twig
CHANGED
|
@@ -46,26 +46,26 @@
|
|
|
46
46
|
{% set _sr_video_player = sr_video_player|default('') %}
|
|
47
47
|
{% set _sr_video_label = sr_video_label|default('') %}
|
|
48
48
|
{% set _zoom = zoom|default(false) %}
|
|
49
|
-
{% set _extra_attributes = '' %}
|
|
49
|
+
{% set _extra_attributes = 'playsinline' %}
|
|
50
50
|
|
|
51
51
|
{% if _zoom %}
|
|
52
52
|
{% set _css_class = _css_class ~ ' ecl-video--zoom' %}
|
|
53
53
|
{% endif %}
|
|
54
54
|
|
|
55
55
|
{% if _controls %}
|
|
56
|
-
{% set _extra_attributes = 'controls' %}
|
|
56
|
+
{% set _extra_attributes = _extra_attributes ~ ' controls' %}
|
|
57
57
|
{% endif %}
|
|
58
58
|
|
|
59
59
|
{% if _autoplay %}
|
|
60
|
-
{% set _extra_attributes = _extra_attributes
|
|
60
|
+
{% set _extra_attributes = _extra_attributes ~ ' autoplay' %}
|
|
61
61
|
{% endif %}
|
|
62
62
|
|
|
63
63
|
{% if _muted %}
|
|
64
|
-
{% set _extra_attributes = _extra_attributes
|
|
64
|
+
{% set _extra_attributes = _extra_attributes ~ ' muted' %}
|
|
65
65
|
{% endif %}
|
|
66
66
|
|
|
67
67
|
{% if _loop %}
|
|
68
|
-
{% set _extra_attributes = _extra_attributes
|
|
68
|
+
{% set _extra_attributes = _extra_attributes ~ ' loop' %}
|
|
69
69
|
{% endif %}
|
|
70
70
|
|
|
71
71
|
{% if _title is not empty and _sr_video_label is not empty %}
|