dc247dc8 by Jeff Balicki

video

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 8711cfb2
...@@ -20,12 +20,12 @@ ...@@ -20,12 +20,12 @@
20 "php": ">=5.6" 20 "php": ">=5.6"
21 }, 21 },
22 "require-dev": { 22 "require-dev": {
23 23 "php-parallel-lint/php-parallel-lint": "^1.3.2",
24 "phpcompatibility/phpcompatibility-wp": "^2.1.4", 24 "phpcompatibility/phpcompatibility-wp": "^2.1.4",
25 "phpmd/phpmd": "^2.13.0", 25 "phpmd/phpmd": "^2.13.0",
26 "phpstan/phpstan": "^1.9.0", 26 "phpstan/phpstan": "^1.9.0",
27 "roave/security-advisories": "dev-master", 27 "roave/security-advisories": "dev-master",
28 28 "squizlabs/php_codesniffer": "^3.7.1",
29 "szepeviktor/phpstan-wordpress": "^1.1.3", 29 "szepeviktor/phpstan-wordpress": "^1.1.3",
30 "wp-coding-standards/wpcs": "^2.3.0", 30 "wp-coding-standards/wpcs": "^2.3.0",
31 "wptrt/wpthemereview": "^0.2.1" 31 "wptrt/wpthemereview": "^0.2.1"
......
...@@ -27,7 +27,8 @@ if ( is_page_template( 'page-templates/no-title.php' ) ) { ...@@ -27,7 +27,8 @@ if ( is_page_template( 'page-templates/no-title.php' ) ) {
27 <div id="vc1"> 27 <div id="vc1">
28 <div class="video-cont"> 28 <div class="video-cont">
29 <video class="myVideo" autoplay loop muted playsinline> 29 <video class="myVideo" autoplay loop muted playsinline>
30 <source src="<?php echo get_field('video_one');?>" type="video/mp4"> 30 <source src="<?php echo get_field('video_one');?>.mp4" type="video/mp4">
31 <source src="<?php echo get_field('video_one');?>.webm" type="video/webm">
31 </video> 32 </video>
32 33
33 <div class="container"> 34 <div class="container">
...@@ -52,8 +53,8 @@ if ( is_page_template( 'page-templates/no-title.php' ) ) { ...@@ -52,8 +53,8 @@ if ( is_page_template( 'page-templates/no-title.php' ) ) {
52 <div id="vc2"> 53 <div id="vc2">
53 <div class="video-cont video2"> 54 <div class="video-cont video2">
54 <video id="v2" class="myVideo " autoplay loop muted playsinline> 55 <video id="v2" class="myVideo " autoplay loop muted playsinline>
55 <source src="<?php echo get_field('video_two');?>" type="video/mp4"> 56 <source src="<?php echo get_field('video_two');?>.mp4" type="video/mp4">
56 <track label="English" kind="subtitles" srclang="en" src="" > 57 <source src="<?php echo get_field('video_two');?>.webm" type="video/webm">
57 </video> 58 </video>
58 <div class="container"> 59 <div class="container">
59 <div class="row move_3"> 60 <div class="row move_3">
...@@ -99,7 +100,8 @@ if( $images ): ?> ...@@ -99,7 +100,8 @@ if( $images ): ?>
99 <div id="vc3"> 100 <div id="vc3">
100 <div class="video-cont"> 101 <div class="video-cont">
101 <video id="v3" class="myVideo" autoplay loop muted playsinline> 102 <video id="v3" class="myVideo" autoplay loop muted playsinline>
102 <source src="<?php echo get_field('video_three');?>" type="video/mp4"> 103 <source src="<?php echo get_field('video_three');?>.mp4" type="video/mp4">
104 <source src="<?php echo get_field('video_three');?>.webm" type="video/webm">
103 </video> 105 </video>
104 <div class="container"> 106 <div class="container">
105 <div class="row move_5"> 107 <div class="row move_5">
......