Help - Search - Members - Calendar
Full Version: MYSPACE New Standalone plater Help
Forums > Resource Center > Support Center > Myspace Support > Myspace Resolved Topics
eMarie2470
I just realized that myspace has changed their standalone player for their music profiles. The code I was using to move it isn't working anymore

CODE
<style>.a {position 4 song band player}
td.text object {position:absolute; top:1597px; _top:1597px; left:440px; _left:564px; z-index: 3; }
td.text td td object {position:static; margin-left:0px;}</style>


I've tried replaceing the ID name with "profile_mp3Player" but that doesn't work either. i'm not that all great with CSS so i'm trying to figure this out. Can anyone help me? cry.gif
decaydancefbr
This should be in the MySpace Support Center.
eMarie2470
sorry, since it dealt with CSS I figured it would be best in the CSS help area.
Tomates
hmm. Maybe they did something to where it cancels out the code.
decaydancefbr
QUOTE(eMarie2470 @ Sep 25 2008, 05:47 PM) *
sorry, since it dealt with CSS I figured it would be best in the CSS help area.


It's okay. I'm looking into it, I'll get back to you soon.
fixtatik
usually you need to use "embed" as well as "object" for myspace. just add in a td.text embed to the first part of your code, and a td.text td td embed to the second part.
eMarie2470
QUOTE(fixtatik @ Sep 25 2008, 06:20 PM) *
usually you need to use "embed" as well as "object" for myspace. just add in a td.text embed to the first part of your code, and a td.text td td embed to the second part.



Like this?

CODE
.a {position 4 song band player}
td.text embed td.text object {position:absolute; top:1597px; _top:1597px; left:440px; _left:564px; z-index: 3; }
td.text td td embed td.text td td object {position:static; margin-left:0px;}


I'll try it out and see if it works.

UPDATE:nope...didn't change a thing stubborn.gif

QUOTE(decaydancefbr @ Sep 25 2008, 03:39 PM) *
It's okay. I'm looking into it, I'll get back to you soon.


thanks. i've looked at other designers music pages and it seems to have effected everyone who has a div overlay on their music profiles.
fixtatik
^ you need to add a comma between the two codes:
CODE
td.text embed, td.text object { yadda yadda }
td.text td td embed, td.text td td object { yadda yadda }
Anarchy
So your code should look something like this:

CODE
.a {position 4 song band player}
td.text embed, td.text object {position:absolute; top:1597px; _top:1597px; left:440px; _left:564px; z-index: 3; }
td.text td td embed, td.text td td object {position:static; margin-left:0px;}

If that doesn't work, try out this code that I wrote.
eMarie2470
I tried that and it still didn't work. The closest thing I got was this code I got from another topic

CODE

<style type="text/css">
object {
position:absolute;
margin-top: 1597px;
margin-left: 440px;
_margin-top: 1597px;
_margin-left: 564px;
z-index: 9;}
</style>


this moves the standalone player nicely (i have to adjust the placement a little though) but since its just using the object tag, it effects other object tags on the page as well. there are 2 other flash objects on the page (a slide and survey) and it effects them as well. is there a way to adjust the code to only effect the standalone player?

If you need to look at what i mean here is the sample myspace i'm testing it on.

http://profile.myspace.com/index.cfm?fusea...endID=201153155

i have the code you suggested in there and as you can see where it says music player, thats where its supposed to be.

Thanks for all the help too...i really do appreciate it. thumbsup.gif
decaydancefbr
Well, in that code, I forgot to add something so it should look like this:

CODE
<style type="text/css">
object {
position:absolute;
margin-top: #px;
margin-left: #px;
_margin-top: #px;
_margin-left: #px;
left:50%;
z-index: 9;}
</style>


But with the way myspace is redoing everything, it's going to move all flash objects. There is no other code we can come up with right now, but I'm sure we'll figure this all out soon!
fixtatik
i think it's turning out to be the same as a regular profile. for some reason, it's using both embed and object tags, but won't recognize both when you move them, so you can only move the object tag (since IE doesn't know what embedded flash is).

for the other flash objects, are they things you added in yourself? you should be able to do it like this:
CODE
object { position:absolute; top:0; left:50%; margin-top:##px; margin-left:##px; }
td td td object { position:static; margin:auto; }

just like in regular profiles, table cells with flash nested within two other table cells (and everything past that) won't move at all.
Anarchy
Try this code out:

CODE
<style>
object {position:absolute; top:1597px; _top:1597px; left:440px; _left:564px; z-index: 3;}
td td td object {position:static; margin:auto;}
</style>

Tell me what happens.
decaydancefbr
It seems they keep changing around the codes on MySpace. The object codes I use for my regular profile and band profile look fine in both browsers. They moved before, I just left it alone. And now they are back to the way they were. shrug.gif
Anarchy
I don't know, man. Maybe we should wait a while until everything's fixed before we start helping people out. They'll just keep coming back asking more questions. LOL.
decaydancefbr
^ Yeah, I think we should do that. And in the mean time, we should see if we can get a post up like Hiding The Navigation so people don't ask about it for a while, yeah?
Anarchy
Eh, there are enough pinned topics as it is. I think we should just stick to replying in topics. I think it's all worked out now, anyway, right?
decaydancefbr
^ I think so.
Anarchy
Yeah, so I guess I'll just reply with the link to the script I wrote. It works fine, for the most part.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.