The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
MP4 video playback with clips hosted by you?
Is there a BB code that lets you play MP4 videos? I am not wanting to install any additional files. Since the "Cyb" breach, I do not install modifications. The only thing I do now is use BB code if possible. In fact that is exactly how I embed and play -through the forums- YouTube videos. All I want is to do the same but with videos hosted locally. All browsers for the last decade play MP4s by default, with no additional plugins, so no actual player .js or such should even really be needed. I mean I would accept a BB code that uses a trusted (ie adobe.com) third party site for a player if it's really needed to be able to have the code work properly.
Again, all I want is to be able to play MP4 files hosted directly on my domain. I'd prefer this just via BB code without any additional files having to be installed. I would accept using bbcode that links (uses) a trusted third party player, though if that's the case would prefer being able to grab the entire player and host that on my own too. Assuming the player is free or is allowed to be self hosted. Don't hate me for never again installing any third party mods. For me, one rape is enough! |
#2
|
|||
|
|||
You obviously know how to create bbcodes so will just post the html replacement needed:
HTML Code:
<video width="320" height="240" controls> <source src="{param}" type="video/mp4"> Your browser does not support the video tag. </video> |
#3
|
|||
|
|||
Ah lovely, cheers. I'm using it already. Works with Firefox 40.xx which is what I use, and I would assume many versions before. The linked attribution page shows it as being supported since FF 3.5. :up:
I did also try it with IE v11.0.9600.17959 and I get the "Your browser does not support the video tag." message. I understand why -technically- I get it, but don't think I should. The browser support for the video tag started with IE 9.0, as shown on the list. :down: Did not try Chrome as I'd have to install it. I will now that IE doesn't work, just to see. I assume it will. --------------- Added [DATE]1440232865[/DATE] at [TIME]1440232865[/TIME] --------------- stop press!! here; <source src="{param}" type="video/mp4"> for my original bbcode entry i used; <source src="http://mydomain.com/mp4/file.mp4" type="video/mp4"> and that worked. but after more testing i realized that doing so played only that file. duh! so, um, what do i use in that entry for a general "source"? i tried "*.mp4" and that's no good. i'm not seeing something obvious. :erm: i now also tried hxtp://mydomain.com/mp4/ - no good. |
#4
|
|||
|
|||
That is because you replaced the
Code:
{param} Code:
{param} Code:
[videobb]http://mydomain.com/mp4/file.mp4[/videobbc] Code:
[videobb]http://mydomain.com/mp4/file1.mp4[/videobbc] [videobb]http://mydomain.com/mp4/file2.mp4[/videobbc] Code:
{param} Security/abuse note: If you allowing members to upload files to your server for posting or even if it's just you I would suggest adding part of the url within the replacement code: Code:
<source src="http://yourdomain/mp4/{param}.mp4" type="video/mp4"> Code:
[videobb]file1[/videobbc] Code:
[videobb]http://reallynastyporn.com/girl/gets/tickled.mp4[/videobbc] |
#5
|
|||
|
|||
That was it. Thanks brother from another mother. No user uploads, just me. I actually already made the code like the second part, so, yay.
I tried Chrome now too and that also works correctly. IE still produces; "Your browser does not support the video tag." That's it's problem. Don't really care. It is obvious it is it who is somehow at fault. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|