How to safely allow embedded YouTube videos?

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • malmazan
    replied
    Originally posted by the geek
    A bbcode entry will not be controllable via usergroups, resolve URL titles ...It wont let you specify forums,
    True, but that's also true for embedding external images and such.

    Originally posted by the geek
    it won't work unless the user wraps tags.
    Tags are the standard way vB works, so having two different ways to embed things (say an image or a video) is confusing. I can understand somebody could want control over who and where can embed videos or other media, but to me it would make more sense to have a media icon that the user would have to click on, just like it's done with an external image.

    As to mods in general, there is the question of whether the author will keep updating the mod for future. By the time vB4 comes around you may have gotten tired of your mod (which does not seem to require code changes, which is good news for an admin) and it may not work anymore, which means that this way of embedding media may not work, and hence users may have to learn a different way of embedding them.

    So personally I avoid mods unless what the mod does is an absolute must for the forum.

    Leave a comment:


  • the geek
    replied
    mmkay. Lets just agree that we prefer things differently.

    Having a bbcode that accepts the id of a URL is a far cry from the usability I am talking about. Even if you can still dump in the entire URL and think you will get consistent results. A bbcode entry will not be controllable via usergroups, resolve URL titles, ensure the video can even be embedded (an increasing amount of youtube videos will no longer embed)! It wont let you specify forums, it won't work unless the user wraps tags around the id and it wont allow you to add additional sites without adding more bbcode tags (bad idea).

    Anyhooo... in the end its up to you and how your users use your site. IMO, the usability difference is very substantial and the reasons you gave for avoiding plugins misleading. My suggestion is to check out all options (there are now LOADS of embedding options on .org) and make an informed choice that fits your site objectives and your users needs

    Leave a comment:


  • malmazan
    replied
    Originally posted by the geek
    IMO using bbcode to put in the id of part a URL is not only counter intuitive, its a pain in the butt for users
    Like I said before the way i do it with the standard vB, if a user pastes the complete YouTube code it works just as well, as the system strips the unneeded parts as they are HTML code.

    Leave a comment:


  • the geek
    replied
    Couldn't see for the life of me how it would get more complicated for updates or anything else for that matter, but to each their own. My goal is simply to make forums easier for users. IMO using bbcode to put in the id of part a URL is not only counter intuitive, its a pain in the butt for users, it isn't extensible and prone to problems.

    Anyhoo, like I said - to each their own

    nJoy

    Leave a comment:


  • malmazan
    replied
    Originally posted by the geek
    http://www.vbulletin.org/forum/showthread.php?t=189267 is farrrrrr more user friendly and allows users to simply paste URLs of selected sites like Youtube without needing bbcode (then again I am biased).
    Of course you are, ¡¡you wrote it!!

    Personally, I try to stay away from major plugins and modifications, specially if they require database changes, as the hole thing gets more complicated for updates and such.

    The way to embed youtube video using the standard vB is good enough for me.

    Leave a comment:


  • the geek
    replied
    http://www.vbulletin.org/forum/showthread.php?t=189267 is farrrrrr more user friendly and allows users to simply paste URLs of selected sites like Youtube without needing bbcode (then again I am biased).

    Leave a comment:


  • malmazan
    replied
    Originally posted by the stig
    Is it possible to display youtube video in a post by youtube link? (example I would paste this --> http://www.youtube.com/watch?v=rbdZS...ture=rec-fresh and it'll turn into a screen?) .

    I do not like to enable html
    The way I did it works the same with with a user pasting just the video id or the whole code copied from the YouTube box. vBulletin will strip everything and just leave the video id.

    Leave a comment:


  • the stig
    replied
    Is it possible to display youtube video in a post by youtube link? (example I would paste this --> http://www.youtube.com/watch?v=rbdZS...ture=rec-fresh and it'll turn into a screen?) .

    I do not like to enable html

    Thanks


    Leave a comment:


  • lille L
    replied
    Thanks !! This was great !

    Leave a comment:


  • StangFreak
    replied
    Originally posted by Jake Bunce
    You 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>
    Example - [youtube]JFwCCL0Vh6U[/youtube]

    Description - Use the movie code from the YouTube URL in your browser. For example, http://youtube.com/watch?v=JFwCCL0Vh6U
    Did a new BB Code for youtube and it worked great. Thanks. Anyone have the code for streetfire.net videos. I can't get that site to work.

    Leave a comment:


  • Floris
    replied
    Originally posted by Kerry-Anne
    Make sure you are using the code correctly and using the video id only and not the full url of the video
    I agree, bbcode for youtube should just require a video id.

    Leave a comment:


  • peterska2
    replied
    Make sure you are using the code correctly and using the video id only and not the full url of the video

    Leave a comment:


  • parkranger
    replied
    I just get a white you tube space when i do it, do i need to give it time to load?

    Leave a comment:


  • NewbieGuy
    replied
    Jake bunce, for you.

    Jake, that was great.

    Even a dummy like me was able to do it.

    I have 2 quick questions if I may.

    First, I had a different code there that had a warning thingee that you had to click on to view the video, and it showed all this code which looked weird.

    I did it the way you said here on the first page, and it just puts the player in the post and you play it. It looks MUCH better.

    What I am thinking though is it better to have that disclaimer that the old way had, but without all the ugly code showing?

    Lastly and more importantly, is there a way only I as ADMIN, can post videos like this?

    I also just noticed that here as I am typing up this response, when I click to Italicize a word, it just does it. In my board which is 3.7.3 it puts the code in front of it like this example and you don't see the example like this, like you do here.

    Do I need to set something to make it the way it works here?

    Thanks

    Thanks.

    Leave a comment:


  • Daky
    replied
    Found differen solution.

    tnx
    Last edited by Daky; Sun 27 Jul '08, 12:27am.

    Leave a comment:

Related Topics

Collapse

Working...