• Welcome to Simple Machines Community Forum. Please login or sign up.

Embed Daily Motion BBcode

Started by melanie1986, October 15, 2018, 07:14:18 PM

Previous topic - Next topic

melanie1986

 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.

dougiefresh

Try this: Embed DailyMotion BBCode.  It's undergone basic testing, but it SHOULD work.  Let me know if it does....

melanie1986

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)

dougiefresh

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.

melanie1986

 this is what it look like with Chrome.


dougiefresh

Yeah, I know.  I'll update it in a little while.  I'm at my in-laws house atm....

melanie1986


dougiefresh

Quote from: dougiefresh on October 17, 2018, 11:12:57 AM
Try this: 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.

melanie1986

 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?

dougiefresh

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....

Steve

Please do not PM me for support.

melanie1986

 :D  Yes!! and thank you!!

Done !

Advertisement: