jbenet / jbenet/ipfs-app-examples

Player - audio?

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

I tried an experiment with this mp3 on the demo video player to see if it works for mp3

https://gateway.ipfs.io/ipfs/QmVc6zuAneKJzicnJpfrqCH9gSy6bz54JhcypfJYhGUFQu/play#/ipfs/QmRsahKNRz6isaLJgtXYMMxECBVMuXdviAW4jTqhsYG7WY

I'm not sure what is happening because the error i'm getting is ambiguous:
"the video could not be loaded, either because the server or network failed, or because the format is not supported. "

This error appears before the progress bar is even half complete, so i don't know if this error message is a default, if the player can detect the wrong format before fully loading, or if it gave up because the file transfer took too long.

eliminating possibilities would be to know for sure that the player can play mp3. If this is the case, is there another method to post a url that will play in the browser's default audio player? my doubt is that the hash does not reveal to the client that it is .mp3 by filename...

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.