View Single Post
Old 02-26-2013, 09:32 PM  
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,532
for anyone who is intersted ;)

urls it matches

https?://(?:www\.)?(?:youtube\.com|youtu\.be|plus\.google\. com)/(?:watch\?v=|watch\?.+&v=|user/[^/]+?#p/\w/\w/\w/|v/|embed/(?:watch\?feature=player_embedded&v=)?|\+youtube/posts/|)((?:[\w-]{11}))

needed to intercept the wordpress oembed, to replace it with a custom html5 player that uses the youtube api, along with my own code to use animated youtube thumbnails.

__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


My Cam Feeds Script / Gallery Scraper / WPXXX Theme / Free Templates
fris is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote