XenForo 2.0 how enable embed code?

krvam

Active member
Registered
Joined
Apr 30, 2021
Messages
42
Points
18

Reputation:

Hello boys, how i can enable embed code to put in the posts

embed code like this:
1620278280931.png
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,497
Points
523

Reputation:

Go to Content > BB Code Media Sites and add a new one:

1620291235500.png

Enter Media site ID, like: volaupload
Enter Add-On: XenForo
Enter Site title, like: Volaupload
Enter the Site URL, like https://volaupload.com

Enter the following code into the emded template field:
HTML:
<div class="bbMediaWrapper">
    <div class="bbMediaWrapper-inner">
        <iframe src="https://volaupload.com/embed/video/{$id}"
                style="border:0px #FFFFF none;"
                name="myiFrame"
                scrolling="no"
                width="852px"
                height="480px"
                frameborder="0"
                marginheight="0px"
                marginwidth="0px"
                allowfullscreen="true">
        </iframe>
    </div>
</div>

Now enter the url in a post and save it, it will then looks like this (I've pixeled the video):

1620291254100.png
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,497
Points
523

Reputation:

@krvam Hola amigo, which version of XenForo are you running ?
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,497
Points
523

Reputation:

@krvam how about if you add a youtube video, will this be shown correctly?
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,497
Points
523

Reputation:

@krvam try to post that
Code:
[MEDIA=volaupload]6mw6elrc198[/MEDIA]

Lets see if something is wrong.
 

krvam

Active member
Registered
Joined
Apr 30, 2021
Messages
42
Points
18

Reputation:

hello friends i am having trouble adding an iframe to a post, it doesn't work
do I have to activate something?
1626644680887.png


HTML:
<IFRAME SRC="https://volaupload.com/embed-4ziyih3moyf8.html" FRAMEBORDER=0 MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=NO WIDTH=480 HEIGHT=294 ALLOWFULLSCREEN></IFRAME>
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,497
Points
523

Reputation:

hello friends i am having trouble adding an iframe to a post, it doesn't work
do I have to activate something?
View attachment 22736

HTML:
<IFRAME SRC="https://volaupload.com/embed-4ziyih3moyf8.html" FRAMEBORDER=0 MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=NO WIDTH=480 HEIGHT=294 ALLOWFULLSCREEN></IFRAME>
krvamThat line of code should not change the post. The iframe code should be placed as media BB code
 

krvam

Active member
Registered
Joined
Apr 30, 2021
Messages
42
Points
18

Reputation:

Can someone help me?
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,497
Points
523

Reputation:

foroxxx

Active member
Registered
Joined
Aug 3, 2022
Messages
27
Points
13

Reputation:

Hello, I know this topic has been around for a while but I don't want to open another one to ask the same thing.
I'm trying to embed videos from sites like Netu and Fembed, but to no avail. It does not show anything in the post doing what has been said here.
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,497
Points
523

Reputation:

Hello, I know this topic has been around for a while but I don't want to open another one to ask the same thing.
I'm trying to embed videos from sites like Netu and Fembed, but to no avail. It does not show anything in the post doing what has been said here.
foroxxxtell us how you have tried it. Show us the configured templates you have created
 
Top