Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Mod Requests => Topic started by: melanie1986 on October 15, 2018, 07:14:18 PM

Title: Embed Daily Motion BBcode
Post by: melanie1986 on October 15, 2018, 07:14:18 PM
 I don't know if there is one, I have spent quite a while looking for it. What I am after is the ability to playback Dailymotion videos in post the same way we currently do for Youtube and Vimeo. Is this easily done? I have zero idea as to how to create it myself.
Title: Re: Embed Daily Motion BBcode
Post by: dougiefresh on October 17, 2018, 11:12:57 AM
Try this: Embed DailyMotion BBCode (http://www.xptsp.com/board/free-modifications/embed-dailymotion-bbcode/).  It's undergone basic testing, but it SHOULD work.  Let me know if it does....
Title: Re: Embed Daily Motion BBcode
Post by: melanie1986 on October 17, 2018, 03:03:05 PM
Hi Dougie,

 Yes it works! The viewing window is very small though? I tried it on my test forum, I'll see how it goes on my main forum as I need to switch browsers. (Dailymotion can't be viewed on older Firefox browsers)
Title: Re: Embed Daily Motion BBcode
Post by: dougiefresh on October 17, 2018, 03:31:00 PM
Sorry, forgot to change the CSS file target names....  Yes, I based it on the Embed Vimeo BBCode mod....  Will update in a little while.
Title: Re: Embed Daily Motion BBcode
Post by: melanie1986 on October 17, 2018, 03:33:23 PM
 this is what it look like with Chrome.

(https://i.imgfly.me/4wbx2.jpg)
Title: Re: Embed Daily Motion BBcode
Post by: dougiefresh on October 17, 2018, 05:25:32 PM
Yeah, I know.  I'll update it in a little while.  I'm at my in-laws house atm....
Title: Re: Embed Daily Motion BBcode
Post by: melanie1986 on October 17, 2018, 05:28:43 PM
(http://lostworldssff.com/Smileys/akyhne/sam59.gif) (http://lostworldssff.com/Smileys/akyhne/yes.png)
Title: Re: Embed Daily Motion BBcode
Post by: dougiefresh on October 17, 2018, 10:31:44 PM
Try this: Embed DailyMotion BBCode (http://www.xptsp.com/board/free-modifications/embed-dailymotion-bbcode/).  It's undergone basic testing, but it SHOULD work.  Let me know if it does....
Try version 1.0.1 that I just posted.
Title: Re: Embed Daily Motion BBcode
Post by: melanie1986 on October 17, 2018, 11:39:31 PM
 It does work Dougie, although the viewing window is still very small. I set the width in the admin panel to 520, but it doesn't change?
Title: Re: Embed Daily Motion BBcode
Post by: dougiefresh on October 18, 2018, 12:29:51 PM
On the off-chance I screwed up the zip file, I zipped up the GitHub version and reuploaded it to my website.  I installed the new copy on my clean 2.0.15 forum and the size of the window is set correctly, even when going into the admin panel and setting a 520px video width.

Please download version 1.0.1 again and try it....
Title: Re: Embed Daily Motion BBcode
Post by: Steve on October 18, 2018, 05:08:26 PM
And clear your temp files.
Title: Re: Embed Daily Motion BBcode
Post by: melanie1986 on October 18, 2018, 09:46:32 PM
 :D  Yes!! and thank you!!

 Done !