From e3c1454ef959650b4306e270d8d3de32b7307c46 Mon Sep 17 00:00:00 2001 From: Benjamin Issleib Date: Sat, 16 Feb 2019 09:40:52 +0100 Subject: [PATCH] fix autoplay Signed-off-by: Benjamin Issleib --- .../Resources/views/Default/index.html.twig | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Podlatch/PublisherFrontendBundle/Resources/views/Default/index.html.twig b/src/Podlatch/PublisherFrontendBundle/Resources/views/Default/index.html.twig index 64c6263..2ab714b 100644 --- a/src/Podlatch/PublisherFrontendBundle/Resources/views/Default/index.html.twig +++ b/src/Podlatch/PublisherFrontendBundle/Resources/views/Default/index.html.twig @@ -69,8 +69,10 @@ main: '#00D7B5' } }).then(function (store) { - store.dispatch(store.actions.play()) - }) + store.dispatch({ + type: 'UI_PLAY', + payload: {} + })}) ;"> icon name