Monday, November 30, 2009

Who knows a lot about myspace?

Here is a question that lots of people ask and never really get an answer.



Ok, is there a code out there that hides your myspace song, BUT!! a big but!, doesnt effecy any of the youtube videos on your profile??



If you answer this and give me a good code, you are a god.



Who knows a lot about myspace?

I do tend to sort of agree with the first poster, a little bit. It is not retarded, but it is not necessarily the best approach.



The myspace music player is at this level:



table table div object



and to address all major browsers you really need this:



table table div object



AND



table table div embed



There are 2 carriage returns after the player, and one above it. (I have no idea why they put 2 carriage returns after objects instead of the usual one).



But this causes some white space.



If you put a youtube video on your page, it is likely NOT in a div (unless you put it in one).



The easiest thing to do is to NOT put it in a div.



Then it is NOT effected by this code:



%26lt;style%26gt;



table table div object, table table div embed {height:0px; width:0px;}



%26lt;/style%26gt;



If the whitespace, caused by the carriage returns, bothers you, you may also want this:



%26lt;style%26gt;



br {line-height:12px;}



table.userProfileURL {margin-bottom:-24px;}



%26lt;/style%26gt;



I size the carriage return to make the space more static across browsers. Otherwise it takes up more space in IE than in FF. You can use a different size if you want, the idea is to control it, and then make the negative margin on the table above it, equal to exactly two carriage returns.



IF you have to put it in a div (such as you are doing a div overlay or something) then insure that each video (or other object) you put on your page, has its own class.



Otherwise, if they are different sizes, you may not be able to set them to different sizes, and still set your music player to size 0.



i.e.



%26lt;div class="myYouTube"%26gt; your youtube code here %26lt;/div%26gt;



Now, after you size the default player to zero, you resize your own video.



%26lt;style%26gt;



div object, div embed {width:0px; height:0px;}



div.myYouTube object, div.myYouTube embed {width:425px; height:350px}



%26lt;/style%26gt;



You can still use the block, I put in earlier to remove the whitespace.



The numbers I gave you, are the numbers used by youtube on their videos. (At least on all the ones I checked).



However, you do want to look at the size of the video you are trying to resize.



I have no idea why so many people use the numbers 320 and 240. This is NOT even the correct aspect ratio.



But these numbers persist. These are not the correct values for the myspace videos either. I am still wondering what the original source is, for these numbers. If anyone knows, please feel free to message me.



There are other ways to hide the player, which do not involve re-sizing. If you have a lot of objects, in divs, of various sizes, a different solution may work better for you.



I have a few more solutions here:



http://views-under-construction.blogspot...



I also offer some alternatives to hiding the player, which may be well suited to your page.



When I am going through forums, sometimes people want someone to look at their page, and help them fix it.



If the page blasts music at me, and I can not turn it off, I tend to just leave the page, and not stick around very long. As a result I am much less likely to help the person fix their page.



Who knows a lot about myspace?

hiding your music is retarded. I wont give you code for that. Most people have really annoying music on their page and for sake of mental stability, i'm not going to write the code.



Who knows a lot about myspace?

The god has arrived:



%26lt;style%26gt;



embed, object {width:0px; height:0px;}



table table table embed,



table table table object



{width:320px; height:240px;}



.interestsAndDetails {margin-top:-30px;}



%26lt;/style%26gt;



Who knows a lot about myspace?

the correct answerer has arrived at this question.........*aaahhhhhhh* lol



put this code in ur About Me



%26lt;style%26gt;embed, object {width:0px; height:0px;} table table table embed, table table table object {width:320px; height:240px;} %26lt;/style%26gt;



%26lt;p%26gt;



Who knows a lot about myspace?

well i odnt know if there is a code to hide youre songs from youre myspace profile but if it just one those music player that you had made yurself to share with others online then there is a code for that but i only think the only place you can get the code is on the photobucket.com has that kind of code and also myspace homepage also has the myspace music player code to do hide the music . but you need to do it yourself .

No comments:

Post a Comment

 
iis web server