diff --git a/view/template/acquisition/youtube.php b/view/template/acquisition/youtube.php index 53bb706c..069f6cbc 100644 --- a/view/template/acquisition/youtube.php +++ b/view/template/acquisition/youtube.php @@ -77,8 +77,8 @@ Response::setMetaDescription("Put your content on the blockchain, experience tru
-
- +
+
@@ -87,8 +87,8 @@ Response::setMetaDescription("Put your content on the blockchain, experience tru
-
- +
+
@@ -97,8 +97,8 @@ Response::setMetaDescription("Put your content on the blockchain, experience tru
-
- +
+

@ColinsLastStand

diff --git a/web/js/yt2/youtube_video.js b/web/js/yt2/youtube_video.js index 0a36d2af..b71d5f01 100644 --- a/web/js/yt2/youtube_video.js +++ b/web/js/yt2/youtube_video.js @@ -1,31 +1,25 @@ function playVideo1(){ var myVideo = document.getElementById("video1"); - if (myVideo.paused){ - myVideo.play(); - } - else{ - myVideo.pause(); - } + + myVideo.play(); + $('#video1').prop("controls", true); + $('#play-video1').hide(); } function playVideo2(){ var myVideo = document.getElementById("video2"); - if (myVideo.paused){ - myVideo.play(); - } - else{ - myVideo.pause(); - } + + myVideo.play(); + $('#video2').prop("controls", true); + $('#play-video2').hide(); } function playVideo3() { var myVideo = document.getElementById("video3"); - if (myVideo.paused) { - myVideo.play(); - } - else { - myVideo.pause(); - } -} \ No newline at end of file + myVideo.play(); + $('#video3').prop("controls", true); + $('#play-video3').hide(); + +}