diff options
-rw-r--r-- | plugins/CoreHome/Widgets/GetPromoVideo.php | 2 | ||||
-rw-r--r-- | plugins/CoreHome/templates/getPromoVideo.twig | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CoreHome/Widgets/GetPromoVideo.php b/plugins/CoreHome/Widgets/GetPromoVideo.php index 63e4c776d0..c3f94141fe 100644 --- a/plugins/CoreHome/Widgets/GetPromoVideo.php +++ b/plugins/CoreHome/Widgets/GetPromoVideo.php @@ -37,7 +37,7 @@ class GetPromoVideo extends Widget $view = new View('@CoreHome/getPromoVideo'); $view->shareText = $this->translator->translate('CoreHome_SharePiwikShort'); $view->shareTextLong = $this->translator->translate('CoreHome_SharePiwikLong'); - $view->promoVideoUrl = 'https://www.youtube.com/watch?v=OslfF_EH81g'; + $view->promoVideoUrl = 'https://matomo.org/docs/videos/'; return $view->render(); } diff --git a/plugins/CoreHome/templates/getPromoVideo.twig b/plugins/CoreHome/templates/getPromoVideo.twig index 56e46d75ef..1918a30934 100644 --- a/plugins/CoreHome/templates/getPromoVideo.twig +++ b/plugins/CoreHome/templates/getPromoVideo.twig @@ -1,5 +1,5 @@ <div id="piwik-promo"> - <a id="piwik-promo-videos-link" href="https://matomo.org/docs/videos/" rel="noreferrer noopener" target="_blank"> + <a id="piwik-promo-videos-link" href="{{ promoVideoUrl|e('html_attr') }}" rel="noreferrer noopener" target="_blank"> <div id="piwik-promo-video"> <div id="piwik-promo-thumbnail"> <img src="plugins/CoreHome/images/promo_video_splash.jpg"/> |