Correct. That is why I do not recommend enabling HTML.
Announcement
Collapse
No announcement yet.
How to safely allow embedded YouTube videos?
Collapse
X
-
Kind of a frivilous question, but would there be any way to have this "I agree" box collapse itself after you click "I AGREE"? Here's the BBCode replacement I'm using (works, that other one linked from another thread was messy and broken)
Code:<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="466"> <tr><td class="smallfont"><strong>IMPORTANT NOTICE:</strong> No media files are hosted on these forums. By clicking the link below you agree to view content from an external website. We can not be held responsible for the suitability or legality of this material. If the video does not play, wait a minute or try again later. <a href="#" onclick="return toggle_collapse('{param}')">I AGREE</a></td></tr> <tbody id="collapseobj_{param}" style="display:none;"><tr><td class="alt1" align="center"> <object width="425" height="350"> <param name="movie" value="http://www.youtube.com/v/{param}"></param> <embed src="http://www.youtube.com/v/{param}" type="application/x-shockwave-flash" width="425" height="350"></embed> </object></td></tr></tbody> </table>
Please install Prev/Next to nav menu mod and make it a little easier for everyone to browse your forum.
Comment
-
Originally posted by Hummie View PostI put it in the other forum, but I'll ask here too. The wmv code they gave, I got to work in IE, but not in firefox. Any suggestions?
The reason why it doesn't work in Firefox is because it requires Active X to display WMV of any type. I ran into this problem with the Radio/TV Add On at vb.org as I had visualization on IE but not FF, and I only use FF.
You need to go here:
http://www.iol.ie/~locka/mozilla/plugin.htm
Download and Install this:
http://img.photobucket.com/albums/v3..._666/busy1.gif
Then restart browser and possibly restart pc.
Then you will see WMV in Firefox
Proof:
http://smg.photobucket.com/albums/v3...rent=busy2.gif
-----------------------------------------------
As far as the discussion of BB Code, how to make it easier to post vids, and security.
We used to use the AME hack. However the creator had some personal issues happen and could no longer support the product, so it wasn't being updated for new video types.
We switched to this one and not only does it support like 30 diff types of vids, but you only need the URL link, AND you can choose which one's you want to work or not. So for example if you don't want porn tube, you deselect it in the Admin CP.
Best mod for video embedding in posts, PLUS he's usually good about doing updates if he has a few requests built up:
http://www.vbulletin.org/forum/showt...light=anymedia
Comment
-
Originally posted by Jake Bunce View PostYou can use the embed code on YouTube's site to make a BB code:
Admin CP -> Custom BB Codes -> Add New BB Code
Title - YouTube
Tag - youtube
Replacement:
Code:<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/{param}"></param><embed src="http://www.youtube.com/v/{param}" type="application/x-shockwave-flash" width="425" height="350"></embed></object>
Description - Use the movie code from the YouTube URL in your browser. For example, http://youtube.com/watch?v=JFwCCL0Vh6U
Hi, I new on this, I already do this in the admincp, but my embed codes doesn´t appears at the post, do I need to install a kind of software or something? I have the vbulletin 3.6.8 patch level 2, thanks for your answers
Comment
-
If you're going to do it this way one thing to note is to tell everyone that can post this add on or bb code, not to use the feature or related parts of the code.
Look in between the = signs for the exact code. Cause sometimes you'll look at one video then another and it will say =feature&related and you don't want that part of the code and it won't work.
So stick with only the crazy ID of the videos with numbers, symbols, and letters for the vids.
Comment
-
I'm trying to make this work, but, sadly, all i see is a white box, i've set bbcode to yes on the database, but no joy.
I've even managed to utilise a symbol to select the tags for me.
Anyone else had this problem??
Originally posted by Jake Bunce View PostYou can use the embed code on YouTube's site to make a BB code:
Admin CP -> Custom BB Codes -> Add New BB Code
Title - YouTube
Tag - youtube
Replacement:
Code:<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/{param}"></param><embed src="http://www.youtube.com/v/{param}" type="application/x-shockwave-flash" width="425" height="350"></embed></object>
Description - Use the movie code from the YouTube URL in your browser. For example, http://youtube.com/watch?v=JFwCCL0Vh6Uhttps://scottishminis.com/forums/forum.php - for all things relating to the Scottish Mini scene
https://thebookjoint.com/forums/forum.php - for all things relating to books especially Jack Reacher
Comment
-
Make sure you are just using the video ID (the one with the numbers and letters) and no other part of the URL to the youtube page.
Comment
-
Originally posted by Kerry-Anne View PostMake sure you are just using the video ID (the one with the numbers and letters) and no other part of the URL to the youtube page.
[youtube]4Xf9GzZQEBs[/youtube]https://scottishminis.com/forums/forum.php - for all things relating to the Scottish Mini scene
https://thebookjoint.com/forums/forum.php - for all things relating to books especially Jack Reacher
Comment
-
Please provide a link to an affected post on your forum
Comment
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, 9:26am -
-
by Humdani Hdchow to insert video embed code in forum....
-
Channel: Support Issues & Questions
Sat 2 Feb '13, 5:58am -
Comment