You've already forked hotpocket
BTHLABS-0000: Fix YT embed code
This commit is contained in:
@@ -3,11 +3,13 @@
|
|||||||
{% if save.is_youtube_video %}
|
{% if save.is_youtube_video %}
|
||||||
<div class="mb-0 d-flex justify-content-center">
|
<div class="mb-0 d-flex justify-content-center">
|
||||||
<iframe
|
<iframe
|
||||||
allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
allow="accelerometer *; clipboard-write *; encrypted-media *; gyroscope *; picture-in-picture *; web-share *;"
|
||||||
allowfullscreen
|
allowfullscreen
|
||||||
class="ui-youtube-iframe"
|
class="ui-youtube-iframe"
|
||||||
frameborder="0"
|
frameborder="0"
|
||||||
height="200"
|
height="200"
|
||||||
|
referrerpolicy="strict-origin"
|
||||||
|
scrolling="no"
|
||||||
src="{{ save|render_youtube_embed_url }}"
|
src="{{ save|render_youtube_embed_url }}"
|
||||||
title="YouTube video player"
|
title="YouTube video player"
|
||||||
width="320"
|
width="320"
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ def ci(ctx: Context):
|
|||||||
@task
|
@task
|
||||||
def setup(ctx: Context):
|
def setup(ctx: Context):
|
||||||
ctx.run('python manage.py migrate')
|
ctx.run('python manage.py migrate')
|
||||||
ctx.run('python manage.py create_initial_account hotpocket hotpocketm4st3r')
|
ctx.run('python manage.py create_initial_account -u hotpocket -p hotpocketm4st3r')
|
||||||
|
|
||||||
if WORKSPACE_MODE == WorkspaceMode.METAL:
|
if WORKSPACE_MODE == WorkspaceMode.METAL:
|
||||||
ctx.run('mkdir -p run/uploads')
|
ctx.run('mkdir -p run/uploads')
|
||||||
|
|||||||
Reference in New Issue
Block a user