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

XF 1.2 Media Not Working / Displaying

Discussion in 'Troubleshooting and Problems' started by lukeer31, Feb 18, 2014.

  1. lukeer31

    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.png

    The media tag seems to have been inserted fine:

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

    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
     
  2. Jeremy

    Jeremy Well-Known Member

    What is a link to the site? What are your youtube embed codes?
     
    Chris D likes this.
  3. Chris D

    Chris D XenForo Developer Staff Member

  4. lukeer31

    lukeer31 Member

    https://creationation.eu

    I'm not sure what you mean by the embed codes, but this is what i see from when I edit a post with a youtube link in [ media=youtube ]mXVGIb3bzHI[ /media ] (I spaced it out to prevent it showing on here)
     
  5. Jeremy

    Jeremy Well-Known Member

    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?
     
  6. Jeremy

    Jeremy Well-Known Member

    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.
     
  7. lukeer31

    lukeer31 Member

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

    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

    I will have a go at running that now
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    Chris D likes this.
  9. RoldanLT

    RoldanLT Well-Known Member

    On your Youtube Match URLS:
    upload_2014-2-19_6-26-22.png

    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]+)!
     
  10. lukeer31

    lukeer31 Member

    Brilliant! That worked thank you!

    All sorted now, thank you for your help everyone!
     

Share This Page