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

XF 1.0 media tag no longer works after moving servers

steven s

Well-known member
#1
Our developers moved our site from one server to another and I noticed that media bbcode tags no longer work.
Any advice I can offer them?
 

Mike

XenForo developer
Staff member
#2
What do you mean "not working"? Seeing it in place would always be useful.

How was the move done? Do you have caching enabled in config.php?
 

steven s

Well-known member
#3
What do you mean "not working"? Seeing it in place would always be useful.

How was the move done? Do you have caching enabled in config.php?
One of the posts in question is...
https://www.bmwcca.org/forum/index.php?threads/scca-solo-nationals-videos.10112/#post-60466

The source is
Code:
My fastest runs at the SCCA Nationals. Alas I was the only 1M out of 1,050 competitors.

East:
[media=youtube]7cUcBECZBmo[/media]
http://www.youtube.com/watch?v=7cUcBECZBmo&feature=youtube_gdata

West:
[media=youtube]8XZu6WTCxKw[/media]
http://www.youtube.com/watch?v=8XZu6WTCxKw&feature=youtube_gdata
Caching enabled?
I will need to ask.

The forum should be updated soon now that we have a new developer and host.
License will need to be renewed and our new developer added to the account first.
 

steven s

Well-known member
#6
Hadn't thought about looking at the actual page source.
I've been out of the loop for some time.

Looks like a server issue. Just don't know what direction to take.

Thanks!
 

steven s

Well-known member
#7
It's because you're running HTTPS but your embeds are coming from HTTP.
They've been fixing one thing at a time since running under https.

I added edited http to https under options and BB Code Media sites.
That fixed it.

Appreciate the help.
 

Mike

XenForo developer
Staff member
#8
It's worth noting that you're using an old embed code as well which doesn't work on mobiles. You may want to try:
Code:
<iframe width="500" height="300" src="https://www.youtube.com/embed/{$id}?wmode=opaque" frameborder="0" allowfullscreen></iframe>