PDA

View Full Version : BBCODE


the one
01-06-2016, 01:49 PM
Hello everyone.

Is there a bbcode for mp4 video's.I have some uploaded to my media fire like this one below

http://www.mediafire.com/watch/7ukx6y11zh61fuv/MAH00307.MP4



I would like to be able to post these on my forum is there a bbcode for mp4 for vbulletin 4.2.1

If anyone knows can you let me have the exact details like replacement and example

Also i dont like all them icons in the mediafire that you can see.Is there another place you can upload your media videos for free and then post on forum

Many thanks

Cheers.

Dragonsys
01-06-2016, 02:52 PM
Hello everyone.

Is there a bbcode for mp4 video's.I have some uploaded to my media fire like this one below

http://www.mediafire.com/watch/7ukx6y11zh61fuv/MAH00307.MP4



I would like to be able to post these on my forum is there a bbcode for mp4 for vbulletin 4.2.1

If anyone knows can you let me have the exact details like replacement and example

Also i dont like all them icons in the mediafire that you can see.Is there another place you can upload your media videos for free and then post on forum

Many thanks

Cheers.

Youtube is free.
https://vborg.vbsupport.ru/showthread.php?t=319623

the one
01-06-2016, 05:04 PM
I have both youtube and viemo on my site and members can embed them videos

I was looking for a bbcode that would embed windows media player videos

Type of filevMP4 Video (.mp4)

So how would i get this http://www.mediafire.com/watch/7ukx6y11zh61fuv/MAH00307.MP4 showing as a video in my forum

Many thanks

Malc

ArcadeSyndicate
01-06-2016, 08:54 PM
mediafire has an own forum embed code in every video, so you don't need to create one by yourself ;)

the one
01-07-2016, 03:32 AM
mediafire has an own forum embed code in every video, so you don't need to create one by yourself ;)


Which is this link here http://www.mediafire.com/watch/7ukx6y11zh61fuv/MAH00307.MP4

So how would i get that to show as a video on my forum

Many thanks

ArcadeSyndicate
01-07-2016, 10:52 AM
...

the one
01-07-2016, 11:35 AM
...

I am not sure i follow you with this image below

https://vborg.vbsupport.ru/attachment.php?attachmentid=153995&d=1452171108

I see you have underlined the forum code so what do i do with that because i posted that link on my forum and it did not embed into a video it just stayed as the link.Do you place that link in the video icon on the tool bar.

All i want to know is is there a simple way to embed this, to show like a video on my forum lilke youtube and viemo's video's

Do i need to add a bbcode or upload any files

Many thanks

Malc

MarkFL
01-07-2016, 11:46 AM
They have apparently not made the embed code available the way many video scripts do. You could look at the HTML source code to fashion a BBCode to embed their videos, but you run the risk of being black-listed if they detect you have done so.

the one
01-07-2016, 12:38 PM
They have apparently not made the embed code available the way many video scripts do. You could look at the HTML source code to fashion a BBCode to embed their videos, but you run the risk of being black-listed if they detect you have done so.

Oh dear that does not sound good does it and thanks for the head up.

I will not be doing that .

Many thanks.

Malc.

ArcadeSyndicate
01-07-2016, 01:23 PM
thanks mark, just noticed that too. usually providing such a code means really embedding a video into a website and not only displaying a link. even their html embed seems to do the same.

MarkFL
01-07-2016, 01:29 PM
thanks mark, just noticed that too. usually providing such a code means really embedding a video into a website and not only displaying a link. even their html embed seems to do the same.

Yes, their HTML embed just provides you with an anchor tag with which to create a link. Many video apps will give you the actual code to embed an inline doc (iframe), and then you know for sure they are fine with embedding their videos on your pages. :)

To the OP...it may be possible that if you contact mediafire and ask about this, they may be okay with it, and provide you with the HTML, and if so, let us know and we can put together a BBCode for you. :)

Dragonsys
01-07-2016, 02:24 PM
Your best bet would be to upload the videos to Youtube, you can set them as unpublished, so someone would have to know the link to actually see it.

the one
01-08-2016, 09:48 AM
Yes, their HTML embed just provides you with an anchor tag with which to create a link. Many video apps will give you the actual code to embed an inline doc (iframe), and then you know for sure they are fine with embedding their videos on your pages. :)

To the OP...it may be possible that if you contact mediafire and ask about this, they may be okay with it, and provide you with the HTML, and if so, let us know and we can put together a BBCode for you. :)


Hello MarkFL they have replied here http://forum.mediafiredev.com/showthread.php?642-Can-someone-help-me&p=1121&viewfull=1#post1121

Would we be able to put together a code with that or not i tried putting that code in but when i saved it it took me to my error page

cheers

MarkFL
01-08-2016, 01:43 PM
I wasn't able to get that to work...:(

Dragonsys
01-08-2016, 02:46 PM
The bbcode they gave you won't work, as it points to the user folder not the actual video.

Try this:
ACP -> Custom BB Codes -> Add New BB Code
Name: Media Fire Videos
BB Code Tag Name: mfvideo
Replacement: <iframe src="http://www.mediafire.com/watch/embed/?{option}/{param}&amp;480p" style="background:black;border:0;" allowfullscreen></iframe>
Example: MAH00307.MP4
Use {option}: Yes
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: Yes
Disable Smilies Within This BB Code: Yes
Disable Word Wrapping Within This BB Code: Yes
Disable Automatic Link Parsing Within This BB Code: Yes

the one
01-08-2016, 07:43 PM
The bbcode they gave you won't work, as it points to the user folder not the actual video.

Try this:
ACP -> Custom BB Codes -> Add New BB Code
Name: Media Fire Videos
BB Code Tag Name: mfvideo
Replacement: <iframe src="http://www.mediafire.com/watch/embed/?{option}/{param}&amp;480p" style="background:black;border:0;" allowfullscreen></iframe>
Example: MAH00307.MP4
Use {option}: Yes
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: Yes
Disable Smilies Within This BB Code: Yes
Disable Word Wrapping Within This BB Code: Yes
Disable Automatic Link Parsing Within This BB Code: Yes

Just loads a blank screen.

Thank you so much for trying.

All the best.

Malc.

Dragonsys
01-08-2016, 08:36 PM
Just loads a blank screen.

Thank you so much for trying.

All the best.

Malc.

Ok, I got it working.
Change the below:

Replacement:
<iframe src="http://www.mediafire.com/watch/embed/?{param}&480p" style="background:black;border:0;" allowfullscreen></iframe>
Example: 7ukx6y11zh61fuv
Use {option}: No

Save, then edit the post with the bbcode used.

if you want the box to be a bit bigger you can use this:
Replacement:<iframe src="http://www.mediafire.com/watch/embed/?{param}&480p" style="background:black;border:0;width:500px;height:500px ;" allowfullscreen></iframe>
Adjust width:500px;height:500px; to the size you want

the one
01-09-2016, 04:59 AM
wow works like a charm

many thanks

--------------- Added 1452325575 at 1452325575 ---------------

Thanks for all your time but can i ask one more thing
It embeds really well but when a member goes to the thread the video automatically plays when the page loads.

Is there anyway we can stop that so members can have the option to just play it when they go to the thread

Many thanks for your time on this

--------------- Added 1452336429 at 1452336429 ---------------

--------------- Added 1452336466 at 1452336466 ---------------

wow works like a charm

many thanks

--------------- Added 1452325575 at 1452325575 ---------------

Thanks for all your time but can i ask one more thing
It embeds really well but when a member goes to the thread the video automatically plays when the page loads.

Is there anyway we can stop that so members can have the option to just play it when they go to the thread

Many thanks for your time on this

--------------- Added 1452336429 at 1452336429 ---------------


what i meant to say was what do i need to add to the code to stop the videos playing automatically

i just need to know how to disable auto play

many thanks

--------------- Added 1452336516 at 1452336516 ---------------

wow works like a charm

many thanks

--------------- Added 1452325575 at 1452325575 ---------------

Thanks for all your time but can i ask one more thing
It embeds really well but when a member goes to the thread the video automatically plays when the page loads.

Is there anyway we can stop that so members can have the option to just play it when they go to the thread

Many thanks for your time on this

--------------- Added 1452336429 at 1452336429 ---------------


what i meant to say was what do i need to add to the code to stop the videos playing automatically

i just need to know how to disable auto play

many thanks

Dragonsys
01-09-2016, 02:08 PM
No, as the auto play is on MediaFire's end, they would need to change it

the one
01-10-2016, 04:13 AM
Hi all i have started to upload some of my videos to the JW PLAYER here is the video below

http://content.jwplatform.com/videos/tx1GoQLi-KiinJduz.mp4

Can i ask is there a simple bbcode i can use on my forum so when i post the video links from my jwplayer url links they will work on my forum

Many thanks

ArcadeSyndicate
01-10-2016, 06:22 PM
this is very easy. after you uploaded a video you get the embedcode from jwplayer (see screenshot).

the code for your forum would be...

<script type="application/javascript" src="//content.jwplatform.com/players/{param}"></script>

the parameter in this case is FzykVLtw-xk9xPc5J.js

tested and working fine :up:

the one
01-11-2016, 04:33 AM
will this work in firefox browsers

cheers

ArcadeSyndicate
01-11-2016, 07:36 AM
works fine :)

the one
01-11-2016, 08:47 AM
Thanks so much,

Some of my video's when i post them say i need a licence key.

I have gone into my jw settings and got the licence key number

What do i do with that do i add it to my header template.

Also when i embed the video its not there but when i refresh my page it is,how do i fix that so when i embed and press submit its automatically there so i dont have to refresh my page every time.

Thanks

Malc