diff options
author | Jos Poortvliet <jospoortvliet@gmail.com> | 2018-05-25 01:37:35 +0300 |
---|---|---|
committer | Jos Poortvliet <jos@opensuse.org> | 2018-05-25 01:59:47 +0300 |
commit | 62a58feadeff7a71f708f0f7e6e98614ce4a8f9c (patch) | |
tree | 92374de44d86aae401954aba94c8e0f3b73e1519 /page-finance.php | |
parent | c3561c9bc06e7421c510bcfd166159d744dbceb6 (diff) |
Make YT videos click-to-play
Signed-off-by: Jos Poortvliet <jospoortvliet@gmail.com>
Diffstat (limited to 'page-finance.php')
-rw-r--r-- | page-finance.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/page-finance.php b/page-finance.php index abac245b..c93d18f8 100644 --- a/page-finance.php +++ b/page-finance.php @@ -1,5 +1,7 @@ <head> <link href="<?php echo get_template_directory_uri(); ?>/assets/css/pages/finance.css" rel="stylesheet"> +<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/assets/css/vendor/dsgvo-video-embed.min.css"> +<script src="<?php echo get_template_directory_uri(); ?>/assets/js/dsgvo-video-embed.min.js"></script> <script> require(["require.config"], function() { require(["bootstrap", "modules/youtubePlayer"]) @@ -189,6 +191,7 @@ require(["require.config"], function() { <div class="row feature-row"> <div class="col-md-6 revealOnScroll image--floated"> <div data-type="youtube" data-video-id="AhFnbB-a7ik"></div> + <iframe width="100%" height="315" src="https://www.youtube-nocookie.com/embed/AhFnbB-a7ik" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> </div> <div class="col-md-6 revealOnScroll feature--block"> <p class="section--paragraph__tittle"><?php echo $l->t('Secure collaboration');?></p> @@ -211,6 +214,7 @@ require(["require.config"], function() { <div class="row feature-row"> <div class="col-md-6 revealOnScroll image--floated"> <div data-type="youtube" data-video-id="jwhfeJlYBbM"></div> + <iframe width="100%" height="315" src="https://www.youtube-nocookie.com/embed/jwhfeJlYBbM" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> </div> <div class="col-md-6 revealOnScroll feature--block"> <p class="section--paragraph__tittle"><?php echo $l->t('Integrated in email');?></p> |