-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php
40 lines (32 loc) · 1.64 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
/*
* Welcome to HTML Slides config file!
* Just setup this simple options, upload the folder to a server and you will be good to go.
*/
// Basic settings
$slides_title = "My first html slides";
$slides_description = "This is a description of my slides in no more than one line";
// Display settings
$background_color = "#000";
$text_color = "#fff";
$slide_size = "cover"; /* contain or cover | contain to fit image inside screen (letterbox may occur), cover to fill screen with image (cropping may occur)*/
// Slideshow settings
$cycle = "true"; /* Back to first image after reaching the last one either true or false*/
$duration = "0"; /* Duration of the scrolling between slides in miliseconds, 0 for instant slide change */
$interval = "false"; /* Interval between automatic slide change in miliseconds, set 0 to disable auto advance */
$callback = "console.log('callback'+index);"; /* Callback que será llamado despues de cada cambio de slide, index es el numero de slide */
// Soundtrack settings
$soundtrack_play = "true"; // Set to false if you don't wan't sound along with your slides
// Video settings
/* An array containing desired position within slideshow and video URLs */
$videos = array(
// "2" => "http://www.youtube.com/watch?v=MejbOFk7H6c", /* You can add all videos you want in the positions you like. There can not be more videos than images or they won't show up. */
// "5" => "http://vimeo.com/36160341",
// "6" => "http://www.youtube.com/watch?v=MejbOFk7H6c",
// "10" => "http://vimeo.com/36160348",
);
// Advanced settings
$google_analytics_id = "UA-XXXXX-X";
$sounds_folder = "audio";
$images_folder = "img";
$lang = "en";