• 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?

Jake Bunce

XenForo moderator
Staff member
#2
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
 

Tracy Perry

Well-known member
#5
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

Well-known member
#6
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.
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.