Welcome to my blog, hope you enjoy reading

Monday, 30 July 2012

Different Ways To Embed A Free MP3 Player On Your Website

Different Ways To Embed A Free MP3 Player On Your Website.


HTML Audio

Google Reader Podcast Player For Single MP3s

The Digital Inspiration blog has the details on embedding MP3 files with the Google Player, but to summarize the article, you just have to insert this code, replacing “MP3URL” with the correct URL of the MP3 file hosted on the web that you want to embed in your index.html file that hosts the main page:

<embed type=”application/x-shockwave-flash” src=”http://www.google.com/reader/ui/3523697345-audio-player.swf” flashvars=”audioUrl=MP3URL” width=”400″ height=”27″ quality=”best”></embed>

While this player is very simple in appearance, it doesn’t carry the Google logo, it even has volume controls and is probably one of the easiest ways to embed an MP3 player working fast.

embed mp3 player

Yahoo Media Player For Any MP3 URL On A Page

So let’s say you already have a bunch of MP3 files listed on your webpage and you just need a player. Instead of inserting the Google player code for each and every one of those MP3s, you could just use the handy Yahoo Media Player.
embed mp3
As long as you have linked to those MP3 files in your webpage, you can use the following code to include the Yahoo Media Player, which will detect the MP3 files and display the playbuttons next to each MP3 file.
<script src=”http://mediaplayer.yahoo.com/js” type=”text/javascript”></script>
With that one line of HTML, you get a floating media player that can play all the MP3 files in one webpage.
embed mp3

JW FLV Player For Playlists

The JW Player is an open-source player for non-commercial use. You can download the player, which comes with a few more files, namely swfobject.js and player.swf, all of which you’ll upload to the same location where your website is. Having the JW Player for playlists means you’ll need to insert code in your index.html page and also have a separate XML file with the track list, which really isn’t that hard to put together.
First, you’ll need to insert the following code on your index.html page:
<script type=’text/javascript’ src=’URLofSWFOBJECT.JS’></script>
<div id=’mediaspace’>This text will be replaced</div>
<script type=’text/javascript’>
var so = new SWFObject(‘URLofPLAYER.SWF’,’mpl’,’470′,’320′,’9′);
The items in bold are the ones you need to replace with the correct URLs of the object, player, and XML file (URLofSWFOBJECT.JS, URLofPLAYER.SWF, URLofPLAYLISTFILE.XML). If this code doesn’t show anything on your page, try this code that’s meant to embed MP3 players in blogs and sites like MySpace:
<object classid=’clsid:D27CDB6E-AE6D-11cf-96B8-444553540000′ width=’470′ height=’300′ id=’single1′ name=’single1′>
<param name=’movie’ value=’URLofPLAYER.SWF‘>
<param name=’allowfullscreen’ value=’true’>
<param name=’allowscriptaccess’ value=’always’>
<param name=’wmode’ value=’transparent’>
<param name=’flashvars’ value=’playlistfile=URLofPLAYLISTFILE.XML&playlist=left&dock=false’>
As for the XML file, all you need to do is to save a file with the XML file extension using Notepad in Windows or any text editor. If you’re using Notepad, make sure in the Save type as field has “All Files (*.*)”. Inside the XML file, paste this and replace bold items with the appropriate entries:
<?xml version=”1.0″ encoding=”UTF-8″?>
<playlist version=”1″ xmlns=”http://xspf.org/ns/0/”>
<title>Your MP3 Playlist</title>
You can add more tracks if you want with the
tag, just make sure you adjust the height of the player accordingly. This is what the player looks like with the playlist on the left.
embed mp3
To customize the color of the player, head over to the setup page from the official JW Player website. This setup page will also let you input your desired player parameters (e.g. whether to autoplay or not) and preview the results, while you don’t even have to figure out the code as it painlessly spits out the code for you to just copy.
how embed mp3 website
Not only does this awesome, free player take care of an entire playlist, it also can play single MP3 files. You’d only need to insert this code in your index.html file:
<script type=’text/javascript’ src=’PATHtoSWFOBJECT.JS‘></script>
<div id=’mediaspace’>This text will be replaced</div>
<script type=’text/javascript’>
var so = new SWFObject(‘URLofPLAYER.SWF‘,’ply’,’470′,’24′,’9′,’#000000′);
You should also input the duration of the MP3 file, or you can also omit that line altogether.
If you would rather not mess with codes and would rather just copy and paste embed codes without having to modify them, you can always upload single MP3 to an online storage site, such as 4shared and Box.net, which offer embed codes for MP3 files.
how embed mp3 website
embed mp3 player
Did I miss an MP3 player that’s available for free? Let us know in the comments!


Thursday, 26 July 2012

Increase Import Size of File in phpmyadmin (Ubuntu)

Increase Import Size of File in phpmyadmin (Ubuntu)

Increase Size of import File in phpmyadmin

Try these different settings in /etc/php5/apache2/php.ini

post_max_size = 8M
upload_max_filesize = 2M
max_execution_time = 30
max_input_time = 60
memory_limit = 8M

Change the values to your requirements.

Saturday, 21 July 2012

How to install plugin in eclipse follow this link

How to install plugin in eclipse follow this link

Step1: In eclipse open
             Help-->Install New Software


Android Install in Eclipse

Step1: download the eclipse from the following link
                                eclipse download
Step2: unZip the elipse and install the following plugin in the eclipse
            ADT- https://dl-ssl.google.com/andr

Wednesday, 18 July 2012

How to insert multiple languages in database

How to insert multiple languages in database

1. create database with the default character set as utf8

CREATE DATABASE `database name ` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
2.create table.
create table `telugunames` (name varchar(100))
3. insert data.
INSERT INTO `japanese`.`telugunames` (`name`) VALUES ('అప్పజి');

Monday, 9 July 2012

SWT Browser requires a compatible xulrunner version installed

GWT Designer uses the SWT Browser widget to render the GWT UI. SWT
Browser requires a compatible xulrunner version installed: it should
be 1.9.1.x or 1.9.2.x version and meet the current environment
architecture. See http://www.eclipse.org/swt/faq.php#whatisbrowser and
related topics for more information. 


1 - Download eclipse from eclipse.org. 

Install GWT according to the guide:

2 - After installation, start Eclipse and disable the option
 "Use webkit rendering window for GWT UI if available", at Window, Preferences, Window Builder,

3 - Install the following two libraries in the following order, which will replace the webkit: 
sudo dpkg-i packagename.deb

download and install:
(filename: libhunspell-1.2-0_1.2.11-1ubuntu1_i386.deb ) 
download and install:
(filename:  xulrunner-1.9.2-ubuntu-i386.deb ) 
(to install double click on the file)

 Or look for xulrunner!

4 - Restart eclipse. GWT Designer is already running again.



Thursday, 5 July 2012

GWT plugins adding in eclipse

GWT plugins adding in eclipse

1.download the eclipse from eclipse link

2.open help--->install new softwares..

ADT- https://dl-ssl.google.com/android/eclipse/(required)

indigo update- http://download.eclipse.org/releases/indigo(required)

gwt- http://dl.google.com/eclipse/plugin/3.7(required)

GWT Designer Update Site - http://dl.google.com/eclipse/inst/d2gwt/latest/3.7 (required)

svn- http://subclipse.tigris.org/update(for svn)

Wednesday, 4 July 2012

Running multiple tomcat servers

Running multiple tomcat servers

Download tomcat, and unpack it twice, into two separate directories. Edit the conf/server.xml file in one of the copies in the following way: Change the port on the root Server element to a different number (e.g. 8006) Change the port attributes on the Connector elements to a different number (e.g. 8010 instead of 8009, 8081 instead of 8080 and 8444 instead of 8443) You should now be able to run the bin/startup.sh scripts in both installations to get two running tomcats. Connect using port 8080 and install the basic application services, and then connect using port 8081 to install the service provider management services. Source link. Some other useful links are given linkslinks.

Tuesday, 3 July 2012

Configuring Tomcat 6 with eclipse in ubuntu

Configuring Tomcat 6 with eclipse in ubuntu

open terminal and type this
sudo apt-get install tomcat6(not required if already installed)

cd /usr/share/tomcat6
sudo ln -s /var/lib/tomcat6/conf conf
sudo ln -s /etc/tomcat6/policy.d/03catalina.policy conf/catalina.policy
sudo ln -s /var/log/tomcat6 log
sudo chmod -R 777 /usr/share/tomcat6/conf
restart servet
then configure the server