MyBB Requests

[Mybb Request] plugin to embed videos.

Submitted by v4hl, , Thread ID: 130907

Thread Closed

RE: [Mybb Request] plugin to embed videos.

This post was last modified: 20-05-2019, 05:26 AM by CyberLeaks
#3
MyCode:

Regular Expression:

Code:
\[vid=(.*?)\](.*?)\[/vid\]

Replacement:

Code:
<video width="640" height="480" controls>
<source src="$2" type="video/$1">
Your browser does not support the video tag.
</video>

Example:

Code:
[vid=mp4]YOURPATHTOVIDEO.mp4[/vid]


If this doesnt work, you can use Simple Audio Videos mybb plugin (i dont think support the sites you need, but atleast have a big choice of other sites)
https://community.mybb.com/mods.php?action=view&pid=224
[Image: mAqDXwz.png]
1

Users browsing this thread: 1 Guest(s)