Helpful ReplyLocked[FAQ]youtu.be

Author
ErEf
Version 3 user
  • Total Posts : 931
  • Reward points : 8015
  • Joined:
  • Status: offline

youtu.be

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
post edited by Samuel -
#1
APGvNext (Sam)
vNext Owner
  • Total Posts : 12439
  • Reward points : 218010
  • Joined:
  • Status: offline
Re:youtu.be (permalink) ☄ 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".
 
Also you can add a editor button for youtube too. See this link for more info. 
Demo:

post edited by Samuel -
#2
Jump to:
© 2013 APG vNext Commercial Version 4.3