Advertisement:

Author Topic: Embed Daily Motion BBcode  (Read 1774 times)

Offline melanie1986

  • Jr. Member
  • **
  • Posts: 175
  • Gender: Female
  • Vet, Mum, Horse lover and sci-fi geek
    • Lost Worlds SciFi forum
Embed Daily Motion BBcode
« 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.

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Embed Daily Motion BBcode
« Reply #1 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....

Offline melanie1986

  • Jr. Member
  • **
  • Posts: 175
  • Gender: Female
  • Vet, Mum, Horse lover and sci-fi geek
    • Lost Worlds SciFi forum
Re: Embed Daily Motion BBcode
« Reply #2 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)

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Embed Daily Motion BBcode
« Reply #3 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.

Offline melanie1986

  • Jr. Member
  • **
  • Posts: 175
  • Gender: Female
  • Vet, Mum, Horse lover and sci-fi geek
    • Lost Worlds SciFi forum
Re: Embed Daily Motion BBcode
« Reply #4 on: October 17, 2018, 03:33:23 PM »
 this is what it look like with Chrome.


Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Embed Daily Motion BBcode
« Reply #5 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....

Offline melanie1986

  • Jr. Member
  • **
  • Posts: 175
  • Gender: Female
  • Vet, Mum, Horse lover and sci-fi geek
    • Lost Worlds SciFi forum
Re: Embed Daily Motion BBcode
« Reply #6 on: October 17, 2018, 05:28:43 PM »

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Embed Daily Motion BBcode
« Reply #7 on: October 17, 2018, 10:31:44 PM »
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.

Offline melanie1986

  • Jr. Member
  • **
  • Posts: 175
  • Gender: Female
  • Vet, Mum, Horse lover and sci-fi geek
    • Lost Worlds SciFi forum
Re: Embed Daily Motion BBcode
« Reply #8 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?

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Embed Daily Motion BBcode
« Reply #9 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....

Offline Steve

  • Freak
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 4,637
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Embed Daily Motion BBcode
« Reply #10 on: October 18, 2018, 05:08:26 PM »
And clear your temp files.
My goal this week is to move just enough so people don't think I'm dead.

Please do not PM me for support. You'll get quicker answers in the appropriate support boards.

Offline melanie1986

  • Jr. Member
  • **
  • Posts: 175
  • Gender: Female
  • Vet, Mum, Horse lover and sci-fi geek
    • Lost Worlds SciFi forum
Re: Embed Daily Motion BBcode
« Reply #11 on: October 18, 2018, 09:46:32 PM »
 :D  Yes!! and thank you!!

 Done !