Getting error Uncaught TypeError: Cannot read properties of null (reading 'remove') when I create cursor plugin instance?
See original GitHub issueVersion ^6.2.0
waveform.current = WaveSurfer.create({
container: "#waveform",
waveColor: "#00AFCC",
barGap: 2,
barWidth: 4,
barRadius: 3,
cursorWidth: 2,
cursorColor: "#567FFF",
scrollParent: true,
// Add the regions plugin.
// More info here https://wavesurfer-js.org/plugins/regions.html
plugins: [
WaveformCursorPlugin.create(),
WaveformMarkersPlugin.create({
container: "#wave-timeline",
time: 6,
label: 'Start',
color: 'red',
}),
WaveformTimelinePlugin.create({
container: "#wave-timeline",
height:40,
notchPercentHeight: 70,
primaryFontColor: "rgba(255, 255, 255, 0.1)",
secondaryFontColor:"rgba(255, 255, 255, 0.3)",
primaryColor: "rgba(255, 255, 255, 0.3)",
secondaryColor: "rgba(255, 255, 255, 0.3)",
unlabeledNotchColor: "rgba(255, 255, 255, 0.1)",
fontSize:10,
labelPadding:4,
formatTimeCallback: formatTimeCallback,
primaryLabelInterval: primaryLabelInterval,
secondaryLabelInterval: secondaryLabelInterval
})
]
});
Issue Analytics
- State:
- Created a year ago
- Comments:14 (2 by maintainers)
Top Results From Across the Web
Uncaught TypeError: Cannot read property of null - iDiallo
All this means is that you are trying to access a property of an object that is undefined. These usually happens when we...
Read more >How to fix Uncaught TypeError: Cannot read properties of null ...
I'm doing an ecommerce as a project and I'm trying to finish up the function to delete items from the cart. I think...
Read more >uncaught typeerror: cannot read properties of null ... - You.com
I am getting an error: Uncaught TypeError: Cannot read properties of null (reading 'querySelector'). At this step the tags input is showing NULL....
Read more >Cannot read properties of null (reading 'getStart') on Delete
Press Delete Or Suppr key. Result : The editor control disappears and the following error occurs : plugin.min.js:4 Uncaught TypeError: Cannot ...
Read more >FilePond Documentation - PQINA
The FilePond core module exposes the following properties. Property, Default, Description. element, null, The root element of the FilePond instance. This ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I was able to use the plugin no problem with wavesurfer-react! Thank you so much.
we don’t provide support for React; take a look at https://www.npmjs.com/package/wavesurfer-react instead.