MyBB Community Forums

Full Version: How to embed videos from any filehost?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
How to embed videos from any filehost?
You can't as they don't all use the same embedding system
(2023-04-29, 01:58 PM)Crazycat Wrote: [ -> ]You can't as they don't all use the same embedding system

How to do?
Make embed any videos by Embed code or IFRAME code
The only way needs to know exactly the iframe source url
So you add a MyCode:

Regular Expression: \[vid\](https?://.+)\[/vid\]

Replacement: <iframe src="$1" width="560" height="320"></iframe>

Note that it allows anyone to include any iframe in your forum, but that's your forum, your rules.
Can you help me

make this embeded code support for my forum?

<iframe src="https://filemoon.sx/e/ee3nbhd4mwoj/this_is_for_you_you" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="640" height="360" allowfullscreen></iframe>

Thanks
Try by yourself, I gave you all the elements you need.
(2023-04-29, 10:39 PM)Crazycat Wrote: [ -> ]Try by yourself, I gave you all the elements you need.

i can not.  Sad
If you just want a mycode for this specific video:
Regular expression:
\[4you\]

Replacement:
<iframe src="https://NSFW.url" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="640" height="360" allowfullscreen></iframe>

And use [4you] in your post.

And stop being lazzy.
(2023-05-02, 09:59 AM)Crazycat Wrote: [ -> ]And stop being lazzy.

Thanks. please help me with all videos.

its not about lazzy. I am not english speaker. Thats why i don't do it And i don't no about that.  Sad

I have no idead about Regular expression. Thats why i am asking help

i try with your first code but not working sir  Sad
Well...
(2023-04-29, 03:31 PM)Crazycat Wrote: [ -> ]Regular Expression: \[vid\](https?://.+)\[/vid\]

Do you think the \ I put in the regex are there just to make a nice post ?
Pages: 1 2