automatically embedding youtube links in post

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rockjeep44
    New Member
    • Apr 2007
    • 24

    [Forum] automatically embedding youtube links in post

    I'm aware of the new video embed feature of VB 4 however another site I visit will automatically embed the video and all the poster has to do is post the direct youtube.com video link. How is this accomplished? Thanks
    http://www.rebelrockrunners.org
  • Andy
    Senior Member
    • Jan 2002
    • 5886
    • 4.1.x

    #2
    One way is to hack the following three files:

    newthread.php
    newreply.php
    editpost.php

    Use preg_replace to replace the link with the bbcode for youtube videos.

    Comment

    • wd4x4
      New Member
      • Mar 2008
      • 11
      • 4.0.x

      #3
      Originally posted by Andy
      One way is to hack the following three files:

      newthread.php
      newreply.php
      editpost.php

      Use preg_replace to replace the link with the bbcode for youtube videos.
      Where can I find details ?

      Comment

      Related Topics

      Collapse

      Working...