diff --git a/apps/content/templates/content/blocks/video.html b/apps/content/templates/content/blocks/video.html index 72bc8f86..791920b1 100644 --- a/apps/content/templates/content/blocks/video.html +++ b/apps/content/templates/content/blocks/video.html @@ -6,10 +6,10 @@
{% if 'youtube.com' in content.url or 'youtu.be' in content.url %} + webkitallowfullscreen mozallowfullscreen allowfullscreen> {% elif 'vimeo.com' in content.url %} {% endif %}
diff --git a/project/templates/blocks/lil_store_js.html b/project/templates/blocks/lil_store_js.html index cb5eb6f8..e1698df0 100644 --- a/project/templates/blocks/lil_store_js.html +++ b/project/templates/blocks/lil_store_js.html @@ -3,6 +3,7 @@ window.LIL_STORE = { staticUrl: '{% static "" %}', accessToken: '{{ request.user.auth_token }}', + isMobile: {{ request.user_agent.is_mobile|yesno:"true,false" }}, user: { id: {{ request.user.id|default:'null' }}, } diff --git a/web/src/components/ContestWorks.vue b/web/src/components/ContestWorks.vue index 18bb1fc8..7a02e968 100644 --- a/web/src/components/ContestWorks.vue +++ b/web/src/components/ContestWorks.vue @@ -1,6 +1,6 @@