From 8b528529e76730400aa11d5b20683ddf01e464f0 Mon Sep 17 00:00:00 2001 From: Bady <bady@disroot.org> Date: Tue, 28 May 2019 22:51:48 +0530 Subject: [PATCH] Replace youtube videos with peertube videos --- fund.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/fund.html b/fund.html index 5f7a8bb..e52a4c4 100644 --- a/fund.html +++ b/fund.html @@ -12,6 +12,7 @@ <link rel="stylesheet" href="css/bootstrap.min.css"> <link rel="stylesheet" href="css/animate.css"> <link rel="stylesheet" href="css/font-awesome.min.css"> + <link rel="stylesheet" href="css/video-js.min.css"> <!-- Custom CSS --> <link rel="stylesheet" href="css/style.css"> @@ -143,7 +144,11 @@ <div class="wow fadeInUp col-md-6 col-sm-10 video" data-wow-delay="1.6s"> <div class="img img-responsive"> + <!-- <a href="https://www.youtube.com/watch?v=SSsGKlR0zRE"><img class="img img-responsive" src="images/watchf.png"></a> + --> + + <iframe width="560" height="315" sandbox="allow-same-origin allow-scripts" src="https://peertube.social/videos/embed/19ccad68-9ea8-4c43-970f-8ab6e4292c31" frameborder="0" allowfullscreen></iframe> </div> </div> @@ -257,7 +262,21 @@ <div class="wow fadeInUp col-md-6 col-sm-10 video" data-wow-delay="1.6s"> <div class="img img-responsive"> + <!-- <a href="https://www.youtube.com/embed/7Rr-FVe14Yo"><img class="img img-responsive" src="images/watch.png"></a> + --> + + <video id='my-video' class='video-js' controls preload='auto' width='560' height='314' poster='images/Diaspora_dandy_logo_thumbnail.png' data-setup='{}'> + <source src='https://peertube.social/download/videos/6133bfc6-ed5b-4f47-b21c-c6f26c500851-314.mp4' type='video/mp4'> + + <!-- https://ksr-video.imgix.net/projects/5057/video-4215-h264_high.mp4 --> + + <p class='vjs-no-js'> + To view this video please enable JavaScript, and consider upgrading to a web browser that + <a href='#' target='_blank'>supports HTML5 video</a> + </p> + </video> + </div> </div> @@ -467,6 +486,7 @@ <script src="js/jquery.parallax.js"></script> <script src="js/smoothscroll.js"></script> <script src="js/wow.min.js"></script> + <script src='js/video.min.js'></script> <!-- Custom JS --> <script src="js/custom.js"></script> -- GitLab