Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Dec 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Embedding a Flashplayer in DIV frame

    Hi there people, really in need of some help, I am a newbie to everything web but am trying to learn.

    At the moment im creating a myspace layout using DIV's, and wish to put a flash player i built using a tutorial in one of the DIV boxes. The thing is when i do embed it, it appears on the myspace page but you cant click any of the buttons and it doesnt play the music.

    I therefore tried a different prebuilt flash player and downloaded the code and once again attempted to embed it into my DIV box. This time the music did stream, but once again u couldnt press any of the "play" "stop" "forward" buttons.

    my myspace page is: Myspace

    The flash player is hosted here:
    Flash Player


    Code:
    .div0 {
    
    background-image:url(http://www.geocities.com/a_j_oggie/btmbg.jpg);
    background-position:center center;
    background-repeat:repeat;
    background-attachent:scroll;
    
    background-color:000000; color:FFFFFF	;
    border:2px solid; border-color:006699;
    width:250px; height:230px; overflow:auto;
    position:absolute; z-index:2; left:50%; top:0%;
    margin-left:-125px; margin-top:420px; text-align:center;
    visibility:visible;}
    
    
    <div class="div0">
    <embed enableJSURL="false" allowScriptAccess="never" allownetworking="internal"            enableJavascript="false" allowScriptAccess="never" allownetworking="internal"           src="http://www.geocities.com/a_j_oggie/mp3player-Demo2.swf" menu="false" quality="best" scale="noscale" wmode="transparent" bgcolor="..cccccc" width="218" height="155" align="middle" allowScriptAccess="never" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
    </div>
    And that is most of the code relevant to the issue i think? If not i will post more.

    Please any help would be grateful. Cheers, Adam.

  • #2
    New to the CF scene
    Join Date
    Dec 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

  • #3
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Hmm looks like an mp3 player. No you can't use swfobject because myspace doesn't allow javascript. Personally I think the player found here

    http://www.*******************/?item=Flash+Mp3+Player

    is a lot better than the one you linked to.

    Here is a tutorial on how to get it to your myspace page

    http://www.mygen.co.uk/index.php?pag...n=flashplayer3
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #4
    New to the CF scene
    Join Date
    Dec 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks people


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •