video 099
01 - Get Started
Note: This documentation Page is only for
video 099
layout. It has no link with other layouts if you want to read their documentation then click
here
Required Files And Folders
Please follow the instructions:
- Please upload the
paradise
folder to your server. In this folder you will find the following sub folders containing all of the slides content:
- js
- css
- fonts
- images
- font-awesome-4.7.0
If your Paradise Slider is placed in a different folder, don’t forget to change the file paths in the upcoming examples!
- This step is very important, because product functionality depends on these files, so please first of all attach these files carefully. CSS in
<head>
section and JavaScript in <body>
section:
- <!-- Google Web Fonts -->
-
<link href="https://fonts.googleapis.com/css?family=Roboto:400,500" rel="stylesheet" type="text/css">
- <!-- Font Awesome -->
-
<link href="paradise/font-awesome-4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
- <!-- Bootstrap Style Sheet -->
-
<link href="paradise/css/bootstrap.css" rel="stylesheet" media="all">
- <!-- Paradise Slider Main Style Sheet -->
-
<link href="paradise/css/min/paradise_slider_min.css" rel="stylesheet" media="all">
- <!-- jQuery -->
-
<script src="paradise/js/jquery.js"></script>
- <!-- Bootstrap JS -->
-
<script src="paradise/js/bootstrap.js"></script>
- <!-- Touch Swipe -->
-
<script src="paradise/js/touchSwipe.js"></script>
- <!-- Paradise Slider Main JS File -->
-
<script src="paradise/js/paradise_slider_min.js"></script>
Note: All these files are only for video 099
layout only
Or by using CDN
You can load Bootstrap and jQuery files with a single line of code from their official online sources. You don't even have to download or install anything!
- <!-- Bootstrap Style Sheet -->
-
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
- <!-- jQuery -->
-
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
- <!-- Bootstrap JS -->
-
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T" crossorigin="anonymous"></script>
mega vs single
You can use Paradise Slider CSS in two ways:
- You can use only one Compressed or UnCompressed CSS file for all
Paradise Slider layouts
. You can find these files in the sub folder min
in main css folder.
- As well as concern to other method, you can use a single CSS file for a single
Paradise Slider layout
. You can find all of these files in the main CSS folder. In this case you can use only video_099.css
file.
HTML Markup
After attaching all of the above files, insert following HTML to the <body>
section. This HTML defines your slider content.
<!-- Paradise Slider -->
<div id="video_099" class="carousel onlinePauseVideo pauseVideo video_099_indicators video_099_control_button
thumb_scroll_x swipe_x" data-ride="carousel" data-pause="hover" data-interval="false">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#video_099" data-slide-to="0" class="active">youtube</li>
<li data-target="#video_099" data-slide-to="1">vimeo</li>
<li data-target="#video_099" data-slide-to="2">self-hosted</li>
</ol>
<!-- Wrapper For Slides -->
<div class="carousel-inner" role="listbox">
<!-- Youtube Slide -->
<div class="carousel-item active">
<!-- Image -->
<div class="video_099_img">
<img src="paradise/images/video_099_01.jpg" alt="video_099_01">
</div>
<!-- Youtube Video -->
<div class="video_099_youtube">
<iframe src="https://www.youtube.com/embed/ViuDsy7yb8M?showinfo=0" allowfullscreen></iframe>
</div>
<!-- Video Description -->
<div class="video_099_slide">
<h1>youtube videos</h1>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam nibh. Nunc varius facilisis eros.
Sed erat. In in velit quis arcu ornare laoreet. Curabitur adipiscing luctus massa.</p>
<a href="#">more detail</a>
</div>
</div> <!-- /carousel-item -->
<!-- End of Youtube Slide -->
<!-- Vimeo Slide -->
<div class="carousel-item">
<!-- Image -->
<div class="video_099_img">
<img src="paradise/images/video_099_02.jpg" alt="video_099_02">
</div>
<!-- Vimeo Video -->
<div class="video_099_vimeo">
<iframe src="https://player.vimeo.com/video/91953166?title=0&byline=0&portrait=0"
webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
</div>
<!-- Video Description -->
<div class="video_099_slide">
<h1>vimeo videos</h1>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam nibh. Nunc varius facilisis eros.
Sed erat. In in velit quis arcu ornare laoreet. Curabitur adipiscing luctus massa.</p>
<a href="#">more detail</a>
</div>
</div> <!-- /carousel-item -->
<!-- End of Vimeo Slide -->
<!-- Self-Hosted Slide -->
<div class="carousel-item">
<!-- Image -->
<div class="video_099_img">
<img src="paradise/images/video_099_03.jpg" alt="video_099_03">
</div>
<!-- Self Hosted Video -->
<!-- Background Image For Mobiles. HTML Video Tag does not support the mobiles -->
<div class="video_099_slf_host" style="background-image:url(paradise/images/video_099_slf_host.jpg);">
<video controls>
<source src="paradise/images/video_099_01.mp4" type="video/mp4">
Your browser does not support HTML5 video.
</video>
</div>
<!-- Video Description -->
<div class="video_099_slide">
<h1>vimeo videos</h1>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam nibh. Nunc varius facilisis eros.
Sed erat. In in velit quis arcu ornare laoreet. Curabitur adipiscing luctus massa.</p>
<a href="#">more detail</a>
</div>
</div> <!-- /carousel-item -->
<!-- End of Self-Hosted Slide -->
</div><!-- End of Wrapper For Slides -->
<!-- Left Control -->
<a class="carousel-control-prev" href="#video_099" data-slide="prev">
<span class="fa fa-angle-left"></span>
</a>
<!-- Right Control -->
<a class="carousel-control-next" href="#video_099" data-slide="next">
<span class="fa fa-angle-right"></span>
</a>
</div> <!--End Paradise Slider-->
Note: The Above example will create Three slides. This HTML Structure is only for video 099
layout
02 - Slider HTML Elements
Bootstrap Carousel Contents
Bootstrap Carousel
is the foundation of this slider. The main structure of Bootstrap Carousel
which is used in this layout is as following:
<div id="myCarousel" class="carousel slide" data-ride="carousel" data-pause="hover" data-interval="7000">
<!-- Wrapper For Slides -->
<div class="carousel-inner" role="listbox">
<!-- Slide -->
<div class="carousel-item">
<img src="image.jpg" alt="image" />
</div>
</div
</div>
Note: Remember if you are using more than one slider on same page the id of all sliders must be different from each others. In the above example myCarousel
is id of slider. But we have assigned our own id to the first <div>
that is video_099
.
Slide Contents
The content for the slide is as following:
- In bootstrap carousel
<div>
element which has carousel-item
as class name show a single slide.
- First of all we have created a
<div>
element which has video_099_img
as class name contains the background image.
- we have created a
<div>
element which has video_099_slide
as class name for video description.
- In this layout we have used three types of videos Youtube, Vimeo and Self-Hosted. We have created three
<div>
elements those contains these videos.
<!-- Youtube Slide -->
<div class="carousel-item active">
<!-- Image -->
<div class="video_099_img">
<img src="paradise/images/video_099_01.jpg" alt="video_099_01">
</div>
<!-- Youtube Video -->
<div class="video_099_youtube">
<iframe src="https://www.youtube.com/embed/ViuDsy7yb8M?showinfo=0" allowfullscreen></iframe>
</div>
<!-- Video Description -->
<div class="video_099_slide">
<h1>youtube videos</h1>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam nibh. Nunc varius facilisis eros.
Sed erat. In in velit quis arcu ornare laoreet. Curabitur adipiscing luctus massa.</p>
<a href="#">more detail</a>
</div>
</div> <!-- /carousel-item -->
<!-- End of Youtube Slide -->
<!-- Vimeo Slide -->
<div class="carousel-item">
<!-- Image -->
<div class="video_099_img">
<img src="paradise/images/video_099_02.jpg" alt="video_099_02">
</div>
<!-- Vimeo Video -->
<div class="video_099_vimeo">
<iframe src="https://player.vimeo.com/video/91953166?title=0&byline=0&portrait=0"
webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
</div>
<!-- Video Description -->
<div class="video_099_slide">
<h1>vimeo videos</h1>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam nibh. Nunc varius facilisis eros.
Sed erat. In in velit quis arcu ornare laoreet. Curabitur adipiscing luctus massa.</p>
<a href="#">more detail</a>
</div>
</div> <!-- /carousel-item -->
<!-- End of Vimeo Slide -->
<!-- Self-Hosted Slide -->
<div class="carousel-item">
<!-- Image -->
<div class="video_099_img">
<img src="paradise/images/video_099_03.jpg" alt="video_099_03">
</div>
<!-- Self Hosted Video -->
<!-- Background Image For Mobiles. HTML Video Tag does not support the mobiles -->
<div class="video_099_slf_host" style="background-image:url(paradise/images/video_099_slf_host.jpg);">
<video controls>
<source src="paradise/images/video_099_01.mp4" type="video/mp4">
Your browser does not support HTML5 video.
</video>
</div>
<!-- Video Description -->
<div class="video_099_slide">
<h1>vimeo videos</h1>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam nibh. Nunc varius facilisis eros.
Sed erat. In in velit quis arcu ornare laoreet. Curabitur adipiscing luctus massa.</p>
<a href="#">more detail</a>
</div>
</div> <!-- /carousel-item -->
<!-- End of Self-Hosted Slide -->
In this layout we have used following elements
<a>
<p>
<h1>
<div>
<img>
<span>
<video>
<iframe>
Note: The active
class needs to be added to the first slide. Otherwise, the carousel will not be visible.
03 - Classes
Bootstrap Carousel
.carousel
.carousel-inner
.carousel-item
.active
.carousel-indicators
If you want to know more about bootstrap carousel please click HERE.
paradise slider
We have used following our own classes and id in this layout, that control and change the whole slider.
.swipe_x
: This class enables Horizontal swipe function
#video_099
: Describe the Slider's Unique Id.
.onlinePauseVideo
: This class will stop the video on sliding.(youtube and vimeo)
.pauseVideo
: This class will stop the video on sliding.(self-hosted)
.video_099_img
: This class enables background Images setting
.video_099_slide
: Enable Styles for Text Layers.
.video_099_youtube
: Enable Styles for Youtube Video.
.video_099_vimeo
: Enable Styles for Vimeo Video.
.video_099_slf_host
: Enable Styles for Self Hosted Video and Background Image that shows only in mobile devices
.thumb_scroll_x
: This class enables Horizontal scroll function for indicators when indicators cross the Width limit of slider. This class will use in only those layouts where indicators will be used.
.video_099_indicators
: This class makes indicators for the videos of the slider
.video_099_control_button
: This class makes navigation left and right buttons of the slider
04 - Fonts
We have used the following Fonts in this layout. You can download these fonts from google fonts
to get the same result of layout
05 - Controls
<!-- Left Control -->
<a class="carousel-control-prev" href="#video_099" data-slide="prev">
<span class="fa fa-angle-left"></span>
</a>
<!-- Right Control -->
<a class="carousel-control-next" href="#video_099" data-slide="next">
<span class="fa fa-angle-right"></span>
</a>
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#video_099" data-slide-to="0" class="active">youtube</li>
<li data-target="#video_099" data-slide-to="1">vimeo</li>
<li data-target="#video_099" data-slide-to="2">self-hosted</li>
</ol>
In this layout we have used text indicators and left and right navigation buttons to move from one slide to another. In this layout we have used following components for thumbnails:
.swipe_x
This class enables swipe function. You can controll the slides by dragging the mouse button Horizontally and in touch devices this class also enables the touch control.
If you want to know about other functions click HERE.
.thumb_scroll_x
This class enables Horizontal scroll function for indicators when indicators cross the Width limit of slider. This class will use in only those layouts where indicators will be used.
If you want to know about other functions click HERE.
data-pause="hover"
This attribute pauses the slider from sliding through the next slide when the mouse pointer enters the slider, and when the mouse pointer leaves the slider it resumes the sliding.
data-interval="false"
This attribute specifies the delay (in milliseconds) between each slide.
data-duration="2000"
This attribute specifies the duration (in milliseconds) of sliding.
06 - Animation
We have not used any animation in this layout.
07 - Slider Settings
We have created a separate page for slider settings please Click Here
08 - Images
The size of the images that we have used are 1732 x 1155
in pixels.
3:2
Alway keeps its aspect ratio when you want to change the size of the image
09 - Support
Please do not hesitate if you have any queries about this product. We are always there for your help. You can contact us on this e-mail address szthemes53@gmail.com