Lefora Free Forum
Loading
365 views

Embed Flash not working with this link.

Page 1
(items) 1–9 of 9
Regular - member
64 posts

I want to embed a few music players into different posts.
Here is the code:
<div style="text-align: center; margin-left: auto; visibility:visible; margin-right: auto; width:450px;"> <embed style="width:435px; visibility:visible; height:270px;" allowScriptAccess="never"src="http://www.profileplaylist.net/mc/mp3player_new.swf?config=http%3A%2F%2Fwww.profileplaylist.net%2Fext%2Fpc%2Fskins%2Fconfig_black.xml&mywidth=435&myheight=270&playlist_url=http://www.profileplaylist.net/loadplaylist.php?playlist=56966183&t=1233464529&amp;skinurl=http%3A%2F%2Fi407.photobucket.com%2Falbums%2Fpp153%2FSRHazen%2FKBN%2Fskin1.jpg" menu="false" quality="high" width="435" height="270" name="mp3player" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" border="0"/> <br/> <a href="http://www.profileplaylist.net"><img src="http://www.profileplaylist.net/mc/images/create_black.jpg" border="0" alt="Get a playlist!"/></a> <a href="http://www.mysocialgroup.com/standalone/56966183" target="_blank"><img src="http://www.profileplaylist.net/mc/images/launch_black.jpg" border="0" alt="Standalone player"/></a> <a href="http://www.mysocialgroup.com/download/56966183"><img src="http://www.profileplaylist.net/mc/images/get_black.jpg" border="0" alt="Get Ringtones"/></a> </div>
It worked, then when I went to change the skin, it said invalid code.
Even when I tried to paste the original code back in I got the same error.
Oh darn.....

__________________
"Reality is merely an illusion, albeit a very persistent one." - Albert Einstein
Fanatic - moderator
1396 posts

I think you would have to embed this into a custom html widget in the sidebar, rather than a post.
  
Looking at this code, width=435 is awfully wide to fit into a sidebar - is this customizable to a narrower width? Chief's posted stats here before that shows that 50% of users have a screen width of less than 1280 pixels, meaning the sidebar would take up half the screen...
  

Also, make the sure the music player has a pop-out option, otherwise every time you change the page it will reset....
  
 
  
  

__________________
hackyour.lefora.com/ for customizing your forum.
Regular - member
64 posts

I had it on the sidebar, then removed it.  It has a pop-out option as well.

I got it to work.  Problem is that some codes are not in a single line config, and the embed flash does not recognize anything beyond that either.

I am all over your site now as well.  Some awesome stuff on it.  Because of your CSS tips for my format, I am personalizing it more and more and am getting rave reviews.  Thanks!!!

__________________
"Reality is merely an illusion, albeit a very persistent one." - Albert Einstein
Fanatic - moderator
1396 posts

I've just copied your code into a custom html widget on a test forum and it worked no bother...

I know nothing about flash, but I've checked your code above versus the embed code for a youtube vid, and the structure is totally different. In short, it's sidebar or nothing...

__________________
hackyour.lefora.com/ for customizing your forum.
Fanatic - moderator
1396 posts


Get a playlist! Standalone player Get Ringtones

__________________
hackyour.lefora.com/ for customizing your forum.
Fanatic - moderator
1396 posts

(I needed the 2 posts because anything I type afterwards seemed to corrupt the layout....)

Just use the code from "<emb ed" to "/em bed>"

And the autoplay is annoying, btw.
But thanks for showing us a cool music player for our sites - I'm busy building one myself just now!
  
   
   
   


__________________
hackyour.lefora.com/ for customizing your forum.
Regular - member
64 posts

I was playing and forgot to uncheck auto-play.  Its an option on there.

Thanks!!!!  You rock!!!

__________________
"Reality is merely an illusion, albeit a very persistent one." - Albert Einstein
Rookie - member
10 posts

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="480" height="395" id="3" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="player.swf?flv=http://asianmaza.com/SiyaasiLog18aug2009.flv" /><param name="allowFullScreen" value="true" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="player.swf?flv=http://asianmaza.com/SiyaasiLog18aug2009.flv" quality="high" bgcolor="#ffffff" width="480" height="395" name="3" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>

this code not working in my forum!

Fanatic - founder
3758 posts

ijay, where is that code from?  Have you tried pasting it into your Custom HTML widget in your admin panel? (under the sidebar tab)

__________________
find me answering questions at support.lefora.com or interviewing forum admins on blog.lefora.com
Page 1
(items) 1–9 of 9

Locked Topic


You must be a member to post in this forum