Stories

Github A javascript library that lets you add stories.

Note: The main file has been editing due to a timing issue


openEffect: true enables effect when opening story cubeEffect: true enables the 3d cube effect when sliding story length: 4 photo timeout or video length in seconds - uses 4 seconds timeout for images if not set Fore More Details

Swiper Stories id="stories"

Box Swiper Stories id="storiesBox"

skin: 'snapgram' container class / Change Theme avatars: false, hide user photo instead of last story item preview preview: "" optional - item thumbnail to show in the story carousel instead of the story defined image images if not set Fore More Details


Stories - Video

type: "video" photo or video length: 0 photo timeout or video length in seconds - uses 3 seconds timeout for images if not set localStorage: true set true to save "seen" position. Element must have a id to save properly. buildItem('1', 'video', 0, 'images/video/name_vide.mp4', '', '', '', 1646838545, false), buildItem


Stories - List id="StoriesList"

skin: 'vemdezap' container class / Change Theme list: true enable a timeline instead of carousel Fore More Details