Extract Album Art Image of MP3 URL - php

I am trying to extract album art image from mp3 URLs. I am basically having several MP3 URLs set, and I am playing them on a website, but I do not have album art of the songs. How can I get it? Is it possible to parse ID3 tags to get album art?
How do the window media player, vlc player and winamp player show album art of songs even if there is no such image in the songs directory?
I implemented the website using php and js.
Please help me out, thanks.
Kevindra

I know VLC uses freedb.freedb.org to get his info, you could google for a API or build one to get the data through freedb.freedb.org:8880/~cddb/cddb.cgi

Related

create albums photos using php mysql jquery and ajax

i have a social media website under construction and i want to build a page where users can store their uploaded image within an album like on the facebook where their are many albums that contain multiple image in it .
i did a long search about image and albums but all the tutorials was about sliding image and this cool features of jquery and ajax but and i did not get any tutorial or help about putting or categorize images within an album.
so my question if anyone can help me to learn how to create these albums , and if the is any website or video that can help me
Have you seen these tutorials from phpacademy? There is one about creating albums on an Image Upload Website (2 videos) and several on creating the image upload website.
http://www.youtube.com/user/phpacademy/search?query=photo%20gallery

MP3 Search results to audio player

I operate a website that searches soundcloud for music results and I'm trying to have an audio player play the search results, however I'm having a little trouble.
For each search result I use this {$mp3_search[mp3].mp3_url} which is the direct link to the song. But just putting that line of code into a standard open source audio player does not work.
Any ideas?

Tag a video uploaded to Facebook?

I am working on a Facebook app that uploads a video to your Facebook Timeline. I would like to be able to tag the user's friends in the video, since I am processing the video to include their profile pictures. There are never more than 4 friends, and they appear in the video, so that shouldn't be violating any spam rules.
Is there a way to automatically tag the people in this video? I am uploading the the /videos endpoint using Curl in PHP, and getting the video id back as a response, and attempting to POST to /video_id/tags to tag users, but it isn't working. Is there a way to handle this?
Thanks,
Esa
Right, seems it is not possible to tag an uploaded video by POSTing to https://graph-video.facebook.com/me/videos (either when the video is uploaded with tags= or tags[]=, or after the video has been uploaded).
As a workaround, you could think about using an Open Graph action and tagging the action. For example, "Esa uploaded a video" and add tags for Esa's friends. This would also give you OG Aggregation stories in the user's timeline.
Info on tagging an OG action:
https://developers.facebook.com/docs/opengraph/actions/#taggingpeople

MediaElement.js - Multiple players, can't play videos after one player has already started playing one

I'm trying to track down a tricky issue with MediaElement.js players. I'm using the player in multiple locations on a page, all of which are video files. These video files all point to the same url, which is a file download script that streams the file given an id. Each file has a unique id, which means the url given to the MediaElement player is of the type "/fileDownload.php?fileId={some file id}"
When I press play on one of the videos, it loads fine and starts streaming the video. However, when I pause the video and try to play another one of the videos, it won't load them at all, and will just spin forever like it's loading them. The videos won't play until the page is refreshed.
I'm not tremendously familiar with the implementation of the MediaElement players. Is it possible this occurs because MediaElement.js can't handle files coming from the same URL but with different GET parameters?

Using own video player for youtube, dailymotion,vimeo etc

I have my own video player, I've bought it from activeden. And im going to use youtube, dailymotion, video api with php. But i want to use my own video player. How can i do that? It takes list from a xml files like this;
<video_item>
<hd_video_path>.flv</hd_video_path>
<sd_video_path>.flv</sd_video_path>
<video_title>....</video_title>
<video_description>...</video_description>
</video_item>
You should write a script(PHP/.NET or whatever) that pulls in the correct video url for the videos you want to put in your player and assembles your playlist based on those.

Categories