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

XF 1.5 How to Embed dailymail.co.uk Videos?

Discussion in 'XenForo Questions and Support' started by Neutral Singh, Feb 22, 2016.

  1. Neutral Singh

    Neutral Singh Well-Known Member

  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    The </> button on the bottom right of the video gives you embed code:

    Code:
    <iframe allowfullscreen frameborder="0" width="698" height="573" scrolling="no" id="molvideoplayer" title="MailOnline Embed Player" src="http://www.dailymail.co.uk/embed/video/1267643.html"></iframe>
    
    This can be used to create a new media site in XF:

    Admin CP -> Home -> BB Code Media Sites
     
  3. Neutral Singh

    Neutral Singh Well-Known Member

  4. Glockie

    Glockie Well-Known Member

    Agreed I am struggling with this and don't know how to add Daily Mail as an added BBCode.
    I've added what I think is correct but I always get The specified URL cannot be embedded as media .. :(
     
  5. Tracy Perry

    Tracy Perry Well-Known Member

    Have you looked at the existing media BBcodes as examples.
    You have to find that the value is that defines the video (in the example given, it's probably the 1267643 and replace that with the {$id} parameter in the embed html box
    Code:
    <iframe allowfullscreen frameborder="0" width="698" height="573" scrolling="no" id="molvideoplayer" title="MailOnline Embed Player" src="http://www.dailymail.co.uk/embed/video/{$id}.html"></iframe>
    
    and then use the match URLS's
    Code:
    http://www.dailymail.co.uk/embed/video/{$id}.html
    I make no guarantee that this works as is - since I just took the examples provided in this thread and modified them.
     
    Glockie likes this.
  6. Glockie

    Glockie Well-Known Member

    Thank you for that. :)
    I did look for one, and tried following suit but no joy.
    Will try your method and I am sure the OP is grateful too. Thank you.
     

Share This Page