Demo2 - show in slide Mode
File: Sample_demo1.pptx
Description:
View all slides of "Sample_demo1.pptx" file in slide Mode.
Code:
<div id="slide-resolte-contaniner" ></div>
<script>
$("#slide-resolte-contaniner").pptxToHtml({
pptxFileUrl: "Sample_demo1.pptx",
slideMode: true,
slidesScale: "55%",
keyBoardShortCut: true,
mediaProcess: true, /** true,false: if true then process video and audio files */
slideModeConfig: { //on slide mode (slideMode: true)
first: 1,
nav: true, /** true,false : show or not nav buttons*/
navTxtColor: "white", /** color */
showPlayPauseBtn: true,/** true,false */
showSlideNum: true, /** true,false */
showTotalSlideNum: true, /** true,false */
autoSlide: 2, /** false or seconds (the pause time between slides) , F8 to active(keyBoardShortCut: true) */
randomAutoSlide: false, /** true,false ,autoSlide:true */
loop: false, /** true,false */
background: "black", /** false or color*/
transition: "slid", /** transition type: "slid","fade","default","random" , to show transition efects :transitionTime > 0.5 */
transitionTime: 1 /** transition time in seconds */
}
});
</script>
Resolte: