XF 1.2 Media Not Working / Displaying

lukeer31

Member
Hi there,

I have recently had an issue pop up with media inserted into posts on my forums, when a link from a source such as youtube is inserted, it correctly encases it in the media tags, however the media displays as completely blank, like so:

Screenshot from 2014-02-18 21:32:20.webp

The media tag seems to have been inserted fine:

Screenshot from 2014-02-18 21:32:34.webp

I am not sure what could have caused this, I have made no theme updates or changes as of recent, I have moved too a new server, however it has been set up in the exactly same way and everything was directly copied over, I tried updating to 1.2.5 to see if that resolves the issue, but it appears not too

Any help would be much appreciated!

Thank you!
Luke
 
Also, please restore the XenForo copyright in your installation if you'd like support. PC me once you've restored it and I shall reopen the thread.
 
ACP -> BB Code Sites -> YouTube -> Embed HTML.

Those Embed Codes. Do you have a link to a thread with a media code that isn't working?

Screenshot from 2014-02-18 21:59:51.webp

Thread where the media tag isn't functioning

https://creationation.eu/threads/3276/#post-29314

There are a lot of videos in that thread, as you can see by the amount of blank spaces

If you haven't added any new BB Code Media Sites and you haven't made any significant changes to the embed HTML code, I would recommend trying this MySQL query.

http://xenforo.com/community/resources/query-to-reset-bb-code-media-sites.2783/

It will remove all BB Code Media sites and replace them with the default XenForo ones. This would eliminate any possible accidental changes there.

I will have a go at running that now
 
On your Youtube Match URLS:
upload_2014-2-19_6-26-22.webp

Code:
!youtube\.com/(?:watch.*?v=|v/)(?'id'[-\w]+)!
!youtu\.be/(?'id'[-\w]+)!
!(?'id')youtu(?>\.be|be\.com).*?[#&?]t=(?'t'\d+)!
!(?'id')youtu(?>\.be|be\.com).*?&list=(?'list'[-\w]+)!
 
Top Bottom