youtu.be

Author Message
ErEf

  • Total Posts : 931
  • Reward points : 7835
  • Joined: Feb 15 '04
  • Status: offline
youtu.be Mon. Apr 11, '11 2:22 PM (permalink)
[Helpful answer received] / [List Solutions Only]
sam,
 
is there a way that the software can handle http://youtu.be/number123124 like the normal URL
youtube is using a sharing button returning http://youtu.be/123rasdf9g89
 
#1
    Samuel

    • Total Posts : 11858
    • Reward points : 180790
    • Joined: May 23 '01
    • Status: offline
    Re:youtu.be Tue. Apr 12, '11 2:22 PM (permalink)
    [This post was marked as helpful]
    Yes, and this is what you have to add (don't remove the existing youtube button whose definition can be found on the context sensitive Admin Help file):
    Pattern: \[(tube)\]http\:\/\/youtu\.be\/([^\[\s]+)\[\/\1\]
    Example: [tube]http://youtu.be/1234_56[/tube]
    Everything else will be the same as the existing youtube code, i.e. the code shown here.
     
    Then, you will add editor buttons for your WYSIWYG editor for this new code. Copy everything from the old one and save, and then set the old code's editor button to "don't show".
     
    Demo:

    <message edited by Samuel on Tue. Apr 19, '11 11:17 AM>
    ASPPlayground.NET
    ~ see our Version 4 plans here

     
    #2
      Online Bookmarks Sharing: Share/Bookmark

      Jump to:

      Current active users

      There are 0 members and 1 guests.

      Icon Legend and Permission

      • New Messages
      • No New Messages
      • Hot Topic w/ New Messages
      • Hot Topic w/o New Messages
      • Locked w/ New Messages
      • Locked w/o New Messages
      • Read Message
      • Post New Thread
      • Reply to message
      • Post New Poll
      • Submit Vote
      • Post reward post
      • Delete my own posts
      • Delete my own threads
      • Rate post

      2000-2012 ASPPlayground.NET Forum Version 3.9