How To Activate Fluid Player Guide

<video id="my-video" controls> <source src="path/to/your-video.mp4" type="video/mp4"> <source src="path/to/your-video.webm" type="video/webm"> Your browser does not support the video tag. </video> After the DOM has loaded, instantiate Fluid Player by calling the constructor and passing the video element’s ID and optional configuration.

Check fluidplayer.com for the latest version number. Add a <video> element in the <body> of your page. Give it a unique id and specify your video source(s). how to activate fluid player

fluidPlayer('my-video', layoutControls: primaryColor: "#e67e22" , vastOptions: adList: [ adTagUrl: "ad.xml" ] , playlist: [ title: "Intro", sources: [ src: "intro.mp4" ] ] ); If you want to create a player programmatically: Add a &lt;video&gt; element in the &lt;body&gt; of your page

| Option | Purpose | Example Value | |--------|---------|----------------| | layoutControls.primaryColor | Brand color | "#ff6600" | | layoutControls.playButtonShowing | Show/hide play button | true | | layoutControls.fillToContainer | Stretch to parent container | true | | vastOptions | Enable VAST ads | ["adTagUrl": "https://example.com/ad.xml"] | | playlist | Create a video playlist | ["title":"Video 1", "sources":[...]] | | chromecast | Enable Chromecast support | "enabled": true | Add a &lt