made autoplay work
This commit is contained in:
parent
16753b42fc
commit
fd87f27c2a
@ -25,7 +25,6 @@ RUN sed -i 's/\r$//g' $APP_HOME/entrypoint.sh && \
|
||||
chmod +x $APP_HOME/entrypoint.sh && \
|
||||
chown -R app:app $APP_HOME
|
||||
|
||||
|
||||
USER app
|
||||
|
||||
ENTRYPOINT ["/home/app/web/entrypoint.sh"]
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
<script>
|
||||
window.RufflePlayer=window.RufflePlayer||{};
|
||||
window.RufflePlayer.config={
|
||||
"autoplay":"on",
|
||||
"autoplay":"{% if user.is_authenticated and not user.player.bloonsa_config.autoplay %}off{% else %}on{% endif %}",
|
||||
"unmuteOverlay":"hidden",
|
||||
"allowScriptAccess": true,
|
||||
"quality": "high",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user