|
Joined: Jun 2006
Posts: 869
old hand
|
old hand
Joined: Jun 2006
Posts: 869 |
Youtube no longer gives the long link as an option, can that code please be redone to included the code youtube gives us?
AS well as one for godtube and Vimeo.
please...
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Well, this will work so long as the URL is: https://www.youtube.com/watch?v=xxxxxxxxxxIt's when you add extra trash in the URL that it'll die; you could have two and have the second filter out the trash, or you could have a better regex drawn up to filter the trash... Custom TagDescriptionUser PromptYouTube URL; eg: https://www.youtube.com/watch?v=xxxxxxxxxx Matching Regex(.*)://(.*).youtube.com/watch\?v=(.*) Markup<iframe width="425" height="350" src="http://www.youtube.com/embed/amKJZpxXhkI?list=UUa6vGFO9ty8v5KZJXQxdhaw" frameborder="0" allowfullscreen></iframe> A matching regex to filter out trash for a second code would be: (.*)://(.*).youtube.com/watch\?v=(.*)&(.*)
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
I have an old one for Vimeo here at UBBDev.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
I didn't test it since it seems to clone an old Youtube, but the GodTube should work as: Custom TagDescriptionUser PromptGODTube URL; eg: http://www.godtube.com/watch/?v=xxxxxxxxxx Matching Regex(.*)://(.*).godtube.com/watch/\?v=(.*) Markup<script type="text/javascript" src="http://www.godtube.com/embed/source/\\1.js?w=425&h=350&ap=true&sl=true&title=true"></script>
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
|
|
|
|
Joined: Jun 2006
Posts: 106
member
|
member
Joined: Jun 2006
Posts: 106 |
Anyone have one for Ustream? <iframe width="480" height="302" src="http://www.ustream.tv/embed/6505757?v=3&wmode=direct" scrolling="no" frameborder="0" style="border: 0px none transparent;"> </iframe>
<br /><a href="http://www.ustream.tv/" style="padding: 2px 0px 4px; width: 400px; background: #ffffff; display: block; color: #000000; font-weight: normal; font-size: 10px; text-decoration: underline; text-align: center;" target="_blank">Live stream videos at Ustream</a>
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
1 members (Geoff),
1,018
guests, and
215
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|