--- title: "GFSpotBase" slug: "gfspotbase-1" updated: 2026-04-13T08:14:09Z published: 2026-04-13T08:14:09Z canonical: "docs.grassfish.com/gfspotbase-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.grassfish.com/llms.txt > Use this file to discover all available pages before exploring further. # GFSpotBase The GFSpotBase is a basic class for locally played HTML spots and offers a variety of methods to communicate with the Grassfish Player. - It’s a JavaScript Library, which you must integrate into the local website. - You can use it with HTML Wizard spots and by HTML Basic spots. ## Insert the file You can nest the file `gfSpotBase.js` in subdirectories, however, don’t edit it. To insert the file into the website, use this script tag: `<script src="gfSpotBase.js"></script>` > [!NOTE] > Note > > Insert this script before any other scripts that relate to the player functionalities. ## Access methods Don’t access the GFSpotBase methods until the JavaScript file has been initialized. To do so, use the body onload method: ```javascript
```