baseline
This commit is contained in:
55
web/vendor/fslightbox/README.md
vendored
Normal file
55
web/vendor/fslightbox/README.md
vendored
Normal file
@@ -0,0 +1,55 @@
|
||||
# Vanilla JavaScript Fullscreen Lightbox Pro
|
||||
|
||||
## Description
|
||||
A vanilla JavaScript plug-in without production dependencies for displaying images, videos, or, through custom sources, anything you want in a clean overlying box.
|
||||
The project's website: https://fslightbox.com.
|
||||
|
||||
## Basic usage
|
||||
```html
|
||||
<a data-fslightbox="gallery" href="https://i.imgur.com/fsyrScY.jpg">
|
||||
Open the first slide (an image)
|
||||
</a>
|
||||
<a
|
||||
data-fslightbox="gallery"
|
||||
href="https://www.youtube.com/watch?v=xshEZzpS4CQ"
|
||||
>
|
||||
Open the second slide (a YouTube video)
|
||||
</a>
|
||||
<a
|
||||
data-fslightbox="gallery"
|
||||
href="https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4"
|
||||
>
|
||||
Open the third slide (an HTML video)
|
||||
</a>
|
||||
<a
|
||||
data-fslightbox="gallery"
|
||||
href="#vimeo"
|
||||
>
|
||||
Open the fourth slide (a Vimeo video—a custom source)
|
||||
</a>
|
||||
<iframe
|
||||
id="vimeo"
|
||||
src="https://player.vimeo.com/video/22439234"
|
||||
width="1920px"
|
||||
height="1080px"
|
||||
frameBorder="0"
|
||||
allow="autoplay; fullscreen"
|
||||
allowFullScreen
|
||||
></iframe>
|
||||
|
||||
<script src="fslightbox.js"></script>
|
||||
```
|
||||
|
||||
## Documentation
|
||||
Available at: https://fslightbox.com/javascript/documentation.
|
||||
|
||||
## Browser Compatibility
|
||||
|
||||
| Browser | Works? |
|
||||
| --- | --- |
|
||||
| Chrome | Yes |
|
||||
| Firefox | Yes |
|
||||
| Opera | Yes |
|
||||
| Safari | Yes |
|
||||
| Edge | Yes |
|
||||
| IE 11 | Yes |
|
||||
1
web/vendor/fslightbox/fslightbox.js
vendored
Normal file
1
web/vendor/fslightbox/fslightbox.js
vendored
Normal file
File diff suppressed because one or more lines are too long
22
web/vendor/fslightbox/package.json
vendored
Normal file
22
web/vendor/fslightbox/package.json
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "fslightbox",
|
||||
"version": "3.6.2",
|
||||
"description": "A vanilla JavaScript plug-in without production dependencies for dispalying images, videos, or, through custom sources, anything you want in a clean overlying box.",
|
||||
"author": "Piotr Zdziarski",
|
||||
"homepage": "https://fslightbox.com",
|
||||
"main": "fslightbox.js",
|
||||
"scripts": {
|
||||
"w": "webpack-dev-server --host 0.0.0.0",
|
||||
"p": "webpack --config ./webpack.prod.config.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.4.4",
|
||||
"@babel/preset-env": "^7.4.4",
|
||||
"@babel/register": "^7.4.4",
|
||||
"babel-loader": "^8.0.5",
|
||||
"html-webpack-plugin": "^5.0.0",
|
||||
"webpack": "^5.0.0",
|
||||
"webpack-cli": "^4.0.0",
|
||||
"webpack-dev-server": "^4.0.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user