Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

retour automatique du curseur au début #114

Closed
NinaP48 opened this issue Mar 22, 2023 · 8 comments
Closed

retour automatique du curseur au début #114

NinaP48 opened this issue Mar 22, 2023 · 8 comments

Comments

@NinaP48
Copy link

NinaP48 commented Mar 22, 2023

Bonjour, j'essaie de reproduire une forme d'onde en utilisant wave-form data. Le code que j'ai utilisée est exactement celui de l'exemple : https://waveform.prototyping.bbc.co.uk/
Cependant quand je clique sur ma forme d'onde mon curseur retourne automatiquement au début. Ce phénomène est-il provoqué par quelque chose en particulier ?

@NinaP48 NinaP48 changed the title Problème d'affichage retour automatique du curseur au début Mar 22, 2023
@chrisn
Copy link
Member

chrisn commented Mar 22, 2023

Are you using Peaks.js? It could relate to this issue: bbc/peaks.js#233 (comment)

@NinaP48
Copy link
Author

NinaP48 commented Mar 23, 2023

En effet, il s'agit du même problème

@chrisn
Copy link
Member

chrisn commented Mar 23, 2023

Which web server are you using? Have you tried cloning the Peaks.js repository and using npm start? This runs a webserver that supports byte range requests.

@NinaP48
Copy link
Author

NinaP48 commented Mar 23, 2023

j'utiliser un serveur http python

@chrisn
Copy link
Member

chrisn commented Mar 23, 2023

I know that python -mhttp.server will not work, as it does not support HTTP byte-range requests. Have you tried rangehttpserver?

@thom4parisot
Copy link
Contributor

thom4parisot commented Mar 23, 2023

Un peu de doc (en anglais) sur l'entête Range, qui doit être comprise par le serveur HTTP sinon il ne renvoie pas les données attendues par Peaks/Waveform.

I love this dual language conversation 😊

@NinaP48
Copy link
Author

NinaP48 commented Mar 23, 2023

En effet, cela a l'air de fonctionner avec le Range HTTP Server. Merci beaucoup !

@chrisn
Copy link
Member

chrisn commented Mar 23, 2023

You're welcome. Good luck with your project!

@chrisn chrisn closed this as completed Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants