Forgot Password
 Register
View: 1809|Reply: 0

Dailymotion Discuz! BBcode

[Copy Link]
Posted on 2024-04-30 07:28:39 | Show all floors |Read Mode
Want to share movies, videos from Dailymotion on your Discuz! forum?

You can do it with the Discuz! Codes:
1. Go to AdminCP --> Interface --> Editor Settings --> Discuz! Code.
2. Add new BBcode name: daily
3. Replacement content:
  1. <div style="position:relative;padding-bottom:56.25%;height:0;overflow:hidden;"> <iframe style="width:100%;height:100%;position:absolute;left:0px;top:0px;overflow:hidden" frameborder="0" type="text/html" src="https://www.dailymotion.com/embed/video/{1}" width="100%" height="100%" allowfullscreen title="Dailymotion Video Player" > </iframe> </div>
Copy Code
  1. {1}: video ID/code in dailymotion
  2. Example:
  3. URL: https://www.dailymotion.com/video/x7vjs5p

  4. {1} will be: x7vjs5p
Copy Code
Here is  a video from Dailymotion:


Reply

Use Props Report

You need to log in before you can reply Login | Register

Forum Credit Rules

Close

Editors SelectedPrevious /2 Next

Archiver|Mobile|Darkroom|Privacy|DSC

GMT+7, 2024-11-21 13:47 , Processed in 0.012541 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

Quick Reply Back to Top Return to List