1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Can I embed an iframe player into a post?

Discussion in 'Styling and Customization Questions' started by SelfSufficientMe, Feb 26, 2014.

  1. SelfSufficientMe

    SelfSufficientMe Well-Known Member

    Basically, I'm just asking for a bit of help on how to embed an iframe into a post using the editor. Is it even possible?

    The code I have is a mini player which just shows the album art and plays the song when the play button is pressed. I grabbed the code from the artists site "Embed this song onto your website" and it's in HTML format so I used the "insert code" and selected HTML on the editor but it just shows the code instead of the player when the post is saved.

    I tried asking this question elsewhere but got the cold shoulder I think because I thought I could somehow use BBCodes to set this up but obviously it's not the case. I'm still finding my way around XF and my coding knowledge is pretty poor so any help is appreciated.

    This is the code I'm trying to embed (minus the host website details) but it gives the idea of what I'm trying to embed:

    < iframe style="border: 0; width: 350px; height: 470px;" src="http://something.com/EmbeddedPlayer...kcol=0687f5/tracklist=false/transparent=true/" seamless><a href="Atoms'>http://something.something.com/album/atoms-emptiness">Atoms &amp; Emptiness by Something</a></iframe>
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Admin CP -> Home -> BB Code Media Sites

    That is the system for adding HTML players to posts.
  3. SelfSufficientMe

    SelfSufficientMe Well-Known Member

    Ok thanks, I've gone there, read the BB Code Media Sites in the XF manual and watched the video then tried filling out the "add bb code media site form as best as I could" but can't get it to embed - I have no idea.

    Funny thing is I can just pop the generated embed code straight into my blog using the html container and it works - I don't understand why Xenforo makes it so difficult.

    This is what I'm trying to embed

  4. Martok

    Martok Well-Known Member

    If you're wanting to add stuff from Bandcamp then this add-on supports it

    SelfSufficientMe likes this.
  5. SelfSufficientMe

    SelfSufficientMe Well-Known Member

Share This Page