x-raym / wavesurfer-wp Goto Github PK
View Code? Open in Web Editor NEWA WaveSurfer-js integration for WordPress
License: GNU General Public License v2.0
A WaveSurfer-js integration for WordPress
License: GNU General Public License v2.0
I installed wavesurfer JS audio wave display, but the wave loading speed is very slow. You need to save the wave to the database to load the wave quickly. Is it possible to solve this problem.
(wavesurfer.js https://wavesurfer-js.org/ )
Just like them
https://icons8.com/music/search/beach
https://tunetank.com/tracks/
This is my website
http://www.partymusic.cn/
我的邮件 [email protected]
Hi X-Raym,
Not sure if you're still updating this plugin. I've noticed that it doesn't really work with AJAX anymore 🥹 Hope you'd be able to look into it.
Best,
Jacob
I dont plan to update
Based on #4, would you consider open souring the plugin? It looks like there are bundled js files without the source.
The current version (v 2.7.1) of this plugin breaks the filetype fallback feature of the default WordPress [audio]
shortcut. For example, only the .wav
file will be included in the final HTML code for:
[audio mp3="source.mp3" ogg="source.ogg" wav="source.wav"]
It seems this issues is caused by lines 635-640 in wavesurfer-wp.php
:
// Check audio type to determine the link
if ( isset( $attr['wav'] ) ) { $link = $attr['wav']; }
if ( isset( $attr['mp3'] ) ) { $link = $attr['mp3']; }
if ( isset( $attr['m4a'] ) ) { $link = $attr['m4a']; }
if ( isset( $attr['ogg'] ) ) { $link = $attr['ogg']; }
if ( isset( $attr['src'] ) ) { $link = $attr['src']; }
But I'm not quite sure how to fix it. Could you please have a look? Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.