How would I use a code like this to embed something hosted on my own webspace?
How to safely allow embedded YouTube videos?
Collapse
X
-
Here is a generic embed BB code:
Comment
-
Comment
-
It depends on exactly how you do it. If you are hosting the files on your own server then you can set the code to only require the filename to be entered by having the rest of the path included in the BBCode. This way if anyone does try to use another file then it will just break the string and not do anything.
For example: http://www.forumsforchrist.com/misc.php?do=bbcode
The replacement used for this isCode:<div align="center"> <OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="700" HEIGHT="500" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab"> <PARAM name="SRC" VALUE="completed_movies/{param}"> <PARAM name="AUTOPLAY" VALUE="false"> <PARAM name="CONTROLLER" VALUE="true"> <EMBED SRC="completed_movies/{param}" WIDTH="700" HEIGHT="500" AUTOPLAY="false" CONTROLLER="true" LOOP="false" href="completed_movies/{param}" PLUGINSPAGE="http://www.apple.com/quicktime/download/"> </EMBED> </OBJECT> </div>
Comment
-
well..that didn't work for me...I replaced your completed_videos with my folder name where mine are hosted....got all that right....I probably have the wrong format of movie for that code.
I've tried so many things and nothing works! Maybe a good night's sleep and I'll wake up and you all will have an answer for me
I appreciate all the help.Comment
-
Thanks for your help.
I could not get your code to work for me and the quick time files seem huge!
However, I did get the wmv code that is here to work. Does this code look secure to you.Comment
-
You would have to enable HTML to be able to directly paste the embed code. Enabling HTML is not recommended for security reasons.
BB codes in posts don't have group permissions so you can't restrict it like that.Comment
-
HTML posting in normal posts (not sigs) can only be controlled at the forum level, not the group level:
Admin CP -> Forums & Moderators -> Forum Manager -> Edit Forum -> Allow HTMLComment
Related Topics
Collapse
-
by avitorhi
i really like to embed videos in the vbulletin 5
what i see now that is works for youtube only
i do like to embed videos from www.uptobox.com or www.openload.co and other video sites....-
Channel: Support Issues & Questions
Thu 11 Feb '16, 8:26am -
-
by Humdani Hdchow to insert video embed code in forum....
-
Channel: Support Issues & Questions
Sat 2 Feb '13, 4:58am -
Comment