1. Home
  2. Docs
  3. ZL WebGL Player
  4. UI Configuration Settings
  5. fps

fps

Control the frame rate of your animations and films.

 

* fps: Frames per second of the video. Default: 25.

5 FPS

10 FPS

25 FPS

Embed Code

				
					<div class="ZLContainer500">
    <div id="zoom1" style="width:100%; height:500px;"></div>
</div>
<div class="ZLContainer500">
    <div id="zoom2" style="width:100%; height:500px;"></div>
</div>
<div class="ZLContainer500">

    <div id="zoom3" style="width:100%; height:500px;"></div>
</div>

<script src="/zoomlook/assets/ZLWebGL.js"></script>
<script src="/zoomlook/assets/ZLPlayer.min.js"></script>
<script>
    window.onload = () => {
    			const ZL1 = new ZLPlayer({
    				basePath: "https://us.zoomlook.cloud/zoomlookbook/zoomlook/pix/ZLGLAnimation/",
    				clickLoad: false,
    				type: "animation",
    				autoplay: true,
    				previewMode: "image",
    				fps: 5
    			});
    			ZL1.loadZLView("ITAXfv-746089", "zoom1");
    	
    			const ZL2 = new ZLPlayer({
    				basePath: "https://us.zoomlook.cloud/zoomlookbook/zoomlook/pix/ZLGLAnimation/",
    				clickLoad: false,
    				type: "animation",
    				autoplay: true,
    				fps: 10
    			});
    			ZL2.loadZLView("ITAXfv-746089", "zoom2");
    	
    			const ZL3 = new ZLPlayer({
    				basePath: "https://us.zoomlook.cloud/zoomlookbook/zoomlook/pix/ZLGLVideo/",
    				clickLoad: false,
    				type: "ZLVideo",
    				autoplay: true,
    				fps: 25,
    				previewVideo:{
    					fps:30
    				}
    			});
    			ZL3.loadZLView("STegyw-601336", "zoom3");
    		};
</script>
				
			

How can we help?

Leave a Reply

Your email address will not be published. Required fields are marked *