vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   BBCODE (https://vborg.vbsupport.ru/showthread.php?t=321412)

the one 01-06-2016 01:49 PM

BBCODE
 
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/7ukx6...v/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

Quote:

Originally Posted by the one (Post 2562082)
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/7ukx6...v/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/7ukx6...v/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

Quote:

Originally Posted by ArcadeSyndicate (Post 2562156)
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/7ukx6...v/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

1 Attachment(s)
...

the one 01-07-2016 11:35 AM

Quote:

Originally Posted by ArcadeSyndicate (Post 2562176)
...

I am not sure i follow you with this image below

https://vborg.vbsupport.ru/attachmen...5&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

Quote:

Originally Posted by MarkFL (Post 2562179)
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

Quote:

Originally Posted by ArcadeSyndicate (Post 2562192)
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

Quote:

Originally Posted by MarkFL (Post 2562193)
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/showth...ull=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:
HTML Code:

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

[mfvideo=7ukx6y11zh61fuv]MAH00307.MP4[/mfvideo]
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

Quote:

Originally Posted by Dragonsys (Post 2562292)
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:
HTML Code:

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

[mfvideo=7ukx6y11zh61fuv]MAH00307.MP4[/mfvideo]
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

Quote:

Originally Posted by the one (Post 2562312)
Just loads a blank screen.

Thank you so much for trying.

All the best.

Malc.

Ok, I got it working.
Change the below:

Replacement:
HTML Code:

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

[mfvideo]7ukx6y11zh61fuv[/mfvideo]
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:
HTML Code:

<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 [DATE]1452325575[/DATE] at [TIME]1452325575[/TIME] ---------------

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 [DATE]1452336429[/DATE] at [TIME]1452336429[/TIME] ---------------

--------------- Added [DATE]1452336466[/DATE] at [TIME]1452336466[/TIME] ---------------

Quote:

Originally Posted by the one (Post 2562328)
wow works like a charm

many thanks

--------------- Added [DATE]1452325575[/DATE] at [TIME]1452325575[/TIME] ---------------

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 [DATE]1452336429[/DATE] at [TIME]1452336429[/TIME] ---------------


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 [DATE]1452336516[/DATE] at [TIME]1452336516[/TIME] ---------------

Quote:

Originally Posted by the one (Post 2562328)
wow works like a charm

many thanks

--------------- Added [DATE]1452325575[/DATE] at [TIME]1452325575[/TIME] ---------------

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 [DATE]1452336429[/DATE] at [TIME]1452336429[/TIME] ---------------


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...i-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

1 Attachment(s)
this is very easy. after you uploaded a video you get the embedcode from jwplayer (see screenshot).

the code for your forum would be...

Code:

<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

1 Attachment(s)
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


All times are GMT. The time now is 06:00 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01302 seconds
  • Memory Usage 1,806KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (4)bbcode_html_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (24)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete