20-05-2019, 05:17 AMnedkoss Wrote: 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
\[vid=(.*?)\](.*?)\[/vid\]
<video width="640" height="480" controls> <source src="$2" type="video/$1"> Your browser does not support the video tag. </video>
[vid=mp4]YOURPATHTOVIDEO.mp4[/vid]
Loading Info...