An open API service indexing awesome lists of open source software.

https://github.com/tomasci/oiiijs

Oiii! JS - small image/video viewer library
https://github.com/tomasci/oiiijs

image-viewer javascript video-viewer webpack

Last synced: about 1 month ago
JSON representation

Oiii! JS - small image/video viewer library

Awesome Lists containing this project

README

          

# Oiii.JS
--------------
##### or just OpenImage JS

###### demo with images
![](demo_openimage.gif)

###### demo with youtube
![](demo_openvideo.gif)

## Step 0
If you won't to clone and build library, you can use jsDelivr links:\
```
https://cdn.jsdelivr.net/npm/oiiijs/build/oiii.min.js
https://cdn.jsdelivr.net/npm/oiiijs/build/styles/oiii.min.css
```
Next: go to step 2

## Step 1
Clone this repository first:\
`git clone https://github.com/tomasci/oiii.git`

Then:\
`npm install`\
`npm run build`

When build complete you will see `/build` folder:\
`/build/`\
`- oiii.min.js`\
`- oiii.min.js.map`\
`- /styles/`\
`-- oiii.css`\
`-- oiii.css.map`\
`-- oiii.min.css`

## Step 2

All you need now is to include 2 files into your html code.\
Example located in `index.html`.

So, between `` insert this line:\
``

And before `