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

Video embedding not working...

#1
I set up a test xenForo forum with my newly purchased license, and video embedding worked just fine. But after a xenForo reinstall and import of my old forums, video embedding is not working. I make a post, embed the video, and the link is still there [media=youtube]5rJhgxyWVDo[/media], but nothing shows up in the actual post.

What could be wrong? Any permissions I should check?
 

Brogan

XenForo moderator
Staff member
#2
I'm not clear on what you did.

Why did you reinstall if you then imported the old database?

All of the content is stored in the database so effectively all you have done is restore your old forum.

Did you perhaps delete the youtube media entry?
Is that why you reinstalled? To try and recover it?
 
#3
Sorry, I'll try to be more clear. And I remembered a bit of it wrong.

I had a phpbb forum that I wanted to set up in xenForo.

I tried one of those 3-day demos of xenForo on the xenForo website, and youtube embedding worked fine there.

I installed xenForo on my webserver and did a test import of my phpBB forums to make sure it would work as I thought it should. I did not test the youtube embedding at this point.

I deleted all the xenForo files and the MySQL database, and did a completely fresh reinstall of xenforo for the "official" import of the phpBB forums, after locking phpBB down so no one could make more posts in the meantime. We are now running on this import, and youtube embedding is NOT working.

Where is this youtube media entry you spoke about? Maybe I am somehow missing it?
 

Brogan

XenForo moderator
Staff member
#6
Is it imported embedded videos which aren't working or new ones?

If imported ones, are you sure the BB Code is exactly as it should be?
 
#7
Our phpBB install didn't have the ability to embed videos, so it is only new embeds that we are talking about here. But none of them work, at least for youtube. Haven't tried either of the other embeds, but maybe I'll give that a shot and see if it is all of them.

This is the BB code that does not work on my forum (wrapped in plain tags): [media=youtube]5rJhgxyWVDo[/media]

And here it is unwrapped (to prove it is correctly formatted, and working on yours):

Here's my ACP panel for the related entries:
BB Code Media Sites

  1. Delete...
    Visit Site
    Facebook http://www.facebook.com
  2. Delete...
    Visit Site
    Vimeo http://www.vimeo.com
  3. Delete...
    Visit Site
    YouTube http://www.youtube.com
Showing 3 of 3 items
 

Brogan

XenForo moderator
Staff member
#8
So all that's appearing in the post is the plain BB Code text?

Does this happen with any other BB Codes; bold, underline, etc?

What about the other video codes and also embedding images using the insert image button?
 
#9
Yes, that is all that is in the post. None of the three video embeds work. All other BB codes seem to work, though I admittedly haven't tried them all yet. Pictures work with the insert image button just fine.
 

Mike

XenForo developer
Staff member
#13
There wasn't any response to the ticket. The only thing I suggested was:
I can confirm the issue - it looks like it's not recognizing the media type, but I'm not positive. Can you try editing one of the BB code media sites in the admin CP? (You don't have to change anything, just save it.)
If that doesn't work, can you submit a ticket with FTP details?
 

Acid

Active member
#14
There wasn't any response to the ticket. The only thing I suggested was:

If that doesn't work, can you submit a ticket with FTP details?
Hah! That seemed to do the trick! (y)

Here's a confirmed solution: Just open your YouTube BB code and Save it.

Thank you Mike.