kaaleth Publish time 2013-06-24 00:04

Improved YouTube BBcode. Get a video by ID!

Edytowano przez kaaleth dnia 2013-6-23 23:26

DiscuzX allows us to add youtube video in standard way but I'd like to show you improved option.

What's new?
- separate button for YouTube,
- HTTPS (Hypertext Transfer Protocol Secure) adds a layer of protection around information traveling between your computer and a web server,
- more privacy (YouTube won’t store information about visitors on your web page unless they play the video),
- 100% width in topics for all resolutions,

How to do?
1. Log into your Admin Control Panel.
2. Go to Styles -> Editor Settings -> BBCode.
3. Add new TAG, for example: yt . In Icon File write yt.png
You can use a nice icon for BBCode bar. Click and download. Copy to static/image/common.
5. Check boxes: Available & Display. You can also set order. For example: 18.
6. Click on details and now fill:


Tag(s) yt
Replacement content<iframe width="100%" height="415" src="https://www.youtube-nocookie.com/embed/{1}" frameborder="1" allowfullscreen></iframe>
Example 4F-CpE73o2M
Explanation movie ID
Number of parameters 1
Parameter prompt Please enter the movie ID
Nested depth 1
Allow this BB-code for the user group Select as you wish.

Example: How to use?
Your YouTube video:http://www.youtube.com/watch?v=4F-CpE73o2MYour video's ID4F-CpE73o2MDemo:




Other way is here.

Wonderfulbest Publish time 2015-02-26 21:47

This is great for pc but don found in movil, but it is a super grat theme :)
Pages: [1]
View full version: Improved YouTube BBcode. Get a video by ID!