diff --git a/Application/Home/View/default/Home/landingPage2.html b/Application/Home/View/default/Home/landingPage2.html index 494a43ef9..f61386b50 100644 --- a/Application/Home/View/default/Home/landingPage2.html +++ b/Application/Home/View/default/Home/landingPage2.html @@ -52,18 +52,16 @@ <?php endif;?> <div class="h_wrap"> - <div id="data-2"> + <div id="data-2" style="position: relative;"> + <?php if (!empty($game['flooring_page_video'])):?> + <div class="home-video"> + <video id="example_video_1" class="video-js vjs-default-skin vjs-big-play-centered" controls preload="none" width="640" height="264" poster="{$game['flooring_page_video_cover']}" data-setup='{}'> + <source src="{$game['flooring_page_video']}" type='video/mp4' /> + </video> + </div> + <?php endif;?> <volist name="game['flooring_page_imgs']" id="item" key="k"> - <div style="position: relative;"> - <?php if ($k == 1) :?> - <?php if (!empty($game['flooring_page_video'])):?> - <div class="home-video"> - <video id="example_video_1" class="video-js vjs-default-skin vjs-big-play-centered" controls preload="none" width="640" height="264" poster="{$game['flooring_page_video_cover']}" data-setup='{}'> - <source src="{$game['flooring_page_video']}" type='video/mp4' /> - </video> - </div> - <?php endif;?> - <?php endif ;?> + <div> <?php if ($downloadUrl == 'https://'.$_SERVER['HTTP_HOST']) :?> <a href="#" class="no-package"><img src="{$item}" style="width: 100%;"/></a> <?php else :?>