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

XF 1.4 Support to define Youtube BB code URL.

Discussion in 'XenForo Questions and Support' started by ngannguyen, Jan 27, 2015.

  1. ngannguyen

    ngannguyen Active Member

    How can we define Youtube BB code URL for this case ?
    ==> Match URLs (BB Code Media Sites --> Youtube --> Match URLs : youtube.com/watch?x-yt-cl={$id}&v={$id}&x-yt-ts={$id}
    Issues happened:
    "preg_match(): Compilation failed: two named subpatterns have the same name at offset 67

    Please support me to define the youtube pattern of match URL.

  2. rainmotorsports

    rainmotorsports Well-Known Member

    I believe your problem is the fact you used the same variable name for all the values. You can't use ID for all 3.
  3. ngannguyen

    ngannguyen Active Member

    Do you have any ideas about this case ?


Share This Page