Is there a way to add an audio bar in the Github readme.md? I want to be able to play a certain mp3 file directly through the readme.md, rather than be directed to some soundcloud or youtube link.
Update May 2021: as I already reported in "How to embed a video into GitHub README.md?", "Video uploads now is generally available"
Original answer 20217:
No, as I documented before, an <audio> element (or video) is not supported in GitHub Markdown.
For video, a workaround is to use an animated GIF, but for audio, having a placeholder linking to the actual audio seems to be the only way.
As of May 2021, GitHub supports video uploads, and sort of supports audio uploads. While you cannot directly upload .wav or .mp3 files to GitHub, uploading a .mp4 or .mov file containing only audio gives an (albeit poorly-formatted) audio player:
You can convert .wav and .mp4 files into compatible video files with freeconvert.com or any similar converter.
Related
I keep getting the error: "processing abandoned, this video could not be processed" whenever I try to upload a 107 minute video of an audio recording (just myself rambling thoughts into a microphone the entire time, just a black screen for video). The original audio file is .m4a, and I am trying to convert it into a video file to upload to YouTube. I have tried all the methods that I could find mentioned online, and every time I still get the exact same error. I have tried:
converting from .m4a to .mp4 using VLC and uploading the .mp4
converting from .m4a to .MOV using VLC and uploading the .MOV
converting from .m4a to .mp4 using various online conversion tools and uploading the .mp4
converting from .m4a to .MOV using various online conversion tools and uploading the .MOV
converting from .m4a to .mp3 using various online conversion tools, then converting from .mp3 to both .mp4 and .MOV and uploading the .mp4 and .MOV
verifying my youtube account and enabling the verification feature eligibility settings in the youtube creator studio to allow uploads longer than 15 minutes
re-uploading the same file after the processing failed to try and restart the process
trying different browsers
I also tried exporting the video file again using the default video editor on Windows (the only video editor I have), but I couldn't upload either the audio file (not an option to choose as an import file type) or the video files I created (gave error: "these files have properties that can't be read". I don't know why this error came up either, but maybe it's because the file is corrupted? This wouldn't make sense to me though because I'm able to play it fine (all file types) in the windows default player, VLC, and Audacity. I was able to convert the audio into the video files in VLC too, so I don't know why I can't do the same in the windows default editor.
I realize that similar questions have been asked before on here, but none actually give a solution that works for my problem. Any insight into why I may be having this problem, and how I may be able to solve it, would be very much appreciated.
Youtube doesn't allow audio-only uploads. They expect you to have some sort of video content (which is why you'll see album art on music-only uploads). You'll need some sort of video content. Shotcut is a free video editor that may help you out. Or if you're willing to use the command line ffmpeg can help you out
I have made a web video player using the Media Source Extension API. The video and audio my player downloads and plays is not secure. As in you can go to the Network in Google Chrome Inspect and download the video and audio and play it through a media player. I want to make my audio and video files to be played via my video player only.
A perfect secure video files example is here. The video player: http://reference.dashif.org/dash.js/nightly/samples/dash-if-reference-player/index.html. U can insert the source in the input: https://dash.akamaized.net/akamai/bbb_30fps/bbb_30fps.mpd. And when I download the files from Network in the Google Chrome Inspect, I cannot play the video file of .m4v in VLC or else where. So I think that this is secure. The files downloaded for playback can be found here: http://dash.akamaized.net/akamai/bbb_30fps/bbb_30fps_1280x720_4000k.
Netflix has very very secured video files where the file try isn't even defined. So can someone advise me how to secure my video and audio files to be downloaded and played from else where. Thanks
A sample of my video player project: https://drive.google.com/file/d/156mDgIltBGMkXhx4LZfShxv3A8JrwkNP/view?usp=sharing
The m4v files can be played, you just need to append them to the initialization fragment. Netflix does not use Media Source Extensions directly. They use Encrypted Media Extensions along with a DRM provider such as widevine.
Hi I tried to upload AVI video to orchard but when it's uploaded the preview video is blank, can't run the video, what went wrong?
I suspect it is because browsers won't natively play avi files. You should try converting it into an mp4 or uploading to YouTube/vimeo then embedding their player
I'm looking for an audio player (like jplayer) which can be embedded in a HTML page which will allow MP3's to be played but not downloaded.
The problem: Flash players request the audio file from the server so the URL of the MP3 is present in the HTML source and can be copy/pasted in to the address bar to download the track. This will inherently be the problem with most players.
Possible solution: The player accepts some "encrypted" (non-playable) format which is then decoded inside the player. Anything like this exist?
I am not looking for solutions which sound like:
Obfuscating the URL of the MP3
Preventing downloading of the MP3 from third party sites (eg. forums) using .htaccess
Embedding the mp3 inside a flash movie unless this can be automated, since mp3's are uploaded on a regular basis.
Having a URL which only works for a certain period of time
I don't know if this answers your question, but... Have you tried streaming your audio files via flash? I have never heard of someone being able to download a file which was dynamicly called through actionscript... but maybe i just don't know what i am talking about...
Play Apple's .caf audio file on a webserver? I have .caf audio files (Apple's open audio format) stored on my webserver and want to play them from a web browser on any O/S.
I understand, this doesn't seem like the solution you're looking for, but...
Several weeks ago we faced the same problem. We have several clients which are posting audio files to the web site from theirs iPhones, and we need to play audios on the web site.
But we didn't find any suitable flash player with .caf format support.
So we decided to convert .caf to .mp3 on the server through the ffmpeg.exe utility.
Happily, there a lot of flash players with .mp3 support.
Now I have not tried this... but...
This website:
http://modmyi.com/forums/skinning-themes-discussion/1769-how-do-i-create-caf-file.html
Seems to suggest that .CAF and .AIF may work interchangeably (It suggests that to convert to .CAF you convert to .AIF` and then rename the file).
Have you tried renaming it to .AIF and trying to play in a flash/java browser player? Alternatively just send it as a stream to the web-browser and let the client OS work out what to do with it (Like quicktime running inside the browser).
Let me know how it goes.