View: 7073|Reply: 0

Dailymotion Discuz! BBcode

[Copy link]
Posted on 30-4-2024 07:28:39 | Show all floors |Reading 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 item Report

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

Points Rules for This Section

Close

Editors SelectedPrevious /2 Next

关注公众号
Archiver|Mobile|Darkroom|Privacy|DSC

相关侵权、举报、投诉及建议等,请发 E-mail:[email protected]

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

InThis sectionPosts
关注公众号
Back to top