- Should you be building your next website in Drupal?
- How to add Zoopy video to your Drupal site using CCK and the Embedded Media Field module
- My state of Drupal, today, 18 March 2009
- Drupal Johannesburg 11 March meetup notes
- Quick Drupal setup using Acquia's DAMP stack
- Drupal conference 2009 videos available on the Internet Archive
- Drupal 500 Internal Server Error on shared hosting
- The case for Drupal
- KAYA FM interview: DISCOVER MORE- THE BUSINESS OF BEING ONLINE.
- Drupal Johannesburg July 2008 meetup summary
How to add Zoopy video to your Drupal site using CCK and the Embedded Media Field module
I recently created a provider plugin for Drupal's CCK emfield module which allows you allows you to embed a Zoopy video by pasting the url into a cck field:

This is a lot easier than having to copy the embed code provided by Zoopy and paste this into a textarea.
The provider plugin then extracts the video code and displays the video on your Drupal site:

Instructions how to install the Zoopy provider file
First install the emfield module (http://drupal.org/project/emfield). You need to have the cck content module enabled and both the Embedded Media Field and Embedded Video Field:

Because the Zoopy provider file does not form part of the default emfield module, you will need to paste the zoopy.inc file available for download here, into your emfield video provider directory. This is a different folder in drupal 5 and in drupal 6:
Drupal 5: sites\all\modules\emfield\contrib\video_cck\providers
Drupal 6: sites\all\modules\emfield\contrib\emvideo\providers
If your server is running PHP < 5.2 you'll need to include an extra file as I use the php function json_decode which is only available in PHP versions 5.2 or greater. I put this file in a folder called php_scripts in my theme folder. If you want to put this file somewhere else you'll have to change this path in the function zoopy_get_json_data. This file is also available for download here. It's called JSON-for-PHP-less-than-5-2.zip and you obviously need to unzip it first.
You can also change the display of the video so that it displays as a clickable thumbnail in views, which on click can take you to the video node or the video in a thickbox popup (if thickbox is installed):

That's it - you should now be able to easily add Zoopy video to your Drupal site using CCK.
- charles's blog
- Login or register to post comments

Comments
Whole sale Thomas Sabo Charms
Thomas Sabo Charm,
Thomas Sabo has helped the ancient tradition of the charm bracelet make a huge comeback.
Thomas Sabo Online Shop, 70% OFF, Free Shipping!
Thomas Sabo Charms Shop | 2010 New Thomas Sabo Arrived
Once successfully registered ThomasSabo member, you can free get Necklace
Buy Cheap Thomas Sabo jewellery Charms Charm Bracelet at Thomas Sabo online shop suit your Thomas Sabo preferences. You Thomas Sabo jewellery can choose Thomas Sabo sale to have that Thomas Sabo UK rincess?looks cheap Thomas Sabo with typical ball Thomas Sabo on sale gowns and tiaras Thomas Sabo discount or look sweet and discount Thomas Sabo innocent with cheap Thomas Sabo on sale simple dress discount Thomas Sabo on sale gown designs or to have that cute,fun cheap Thomas Sabo sale and flirty looks. 50 fashion prom discount Thomas Sabo sale dress inspired is what you are looking for
We hope you have fun combining and creating your own personal jewellery.
Charm up your life!
Tags:Thomas Sabo Charms | Charms |Silver |Bracelets | Earrings | Necklaces | Charm Carriers
schmuck Thomas Sabo | schmuck | Sabo schmuck | Thomas Sabo shop | Thomas Sabo online |
Thomas Sabo anh?nger
Thomas Sabo jewellery | Thomas Sabo kette |
Thomas Sabo bracelet | Thomas Sabo armband
Whole sale Thomas Sabo Charms
Whole sale Thomas Sabo
Whole sale Thomas Sabo Necklaces
Who sale Spare parts for cars
Who sale shirt
Thanks
Thanks for share, I learn it, Good Luck!
Data Recovery Software|Guard Process|Restore Deleted Files|进程保护|Recover Deleted Pictures From Memory Card
I put this file in a folder
I put this file in aSEXLEKSAKER folder called php_scripts in my themes folder. If you want to place this file elsewhere will have to change this path according to the zoopy_get_json_data
Zoopy being an online social
Zoopy being an online social media community its much easier to upload videos to zoopy and get that right into your own site like mine was cheap jump drives. Even a newbie will be able to add it by following the instructions here. Thanks for such information sharing with us. Looking for information from this site.
I must admit that this post
Zoopy Video
This is a wonderful presentation, in which he has briefed & illustrated all the information in a very organized way.
It is so easy to implement, I will, on my next project.
With video on my website, giving a good first impression became an easy job.
Sell Silver Houston
Abercrombie
One of the oldest names in the fashion industry . Among the younger generation who are aware of fashion clothes from Abercrombie is a registered trademark of sophistication. Cheap Abercrombie Shorts Cheap Abercrombie Shorts Cheap Abercrombie and Fitch Shorts Cheap Abercrombie and Fitch Shorts discount Abercrombie and Fitch Shorts discount Abercrombie and Fitch Shorts Abercrombie and Fitch Shorts sale Abercrombie and Fitch Shorts sale buy Abercrombie and Fitch Shorts buy Abercrombie and Fitch Shorts Cheap Abercrombie Fitch Shorts Cheap Abercrombie Fitch Shorts discount Abercrombie Fitch Shorts discount Abercrombie Fitch Shorts Abercrombie Fitch Shorts sale Abercrombie Fitch Shorts sale buy Abercrombie Fitch Shorts buy Abercrombie Fitch Shorts discount Abercrombie Shorts discount Abercrombie Shorts Abercrombie Shorts sale Abercrombie Shorts sale buy Abercrombie Shorts They are fashionable sportswear and fashion clothing created for gentlemen dressed collegiate and post modern, contemporary and ladies
ev dekorasyon yaptırmak hicte
Sytesnetwork sitesinde güncel
Sytesnetwork sitesinde güncel oyunlar
ile ilgili yamalar ve indirme linkleri bulunduran bir web sayfasıdır ve blog
tabanlı bir hizmet vermektedir. Site içeriğinden üye olmadan
yararlanabilirsiniz. Ayrıca oyun indirme
alternatifi sunar. Bu alternatiften yararlanmak isteyenleri
sytesnetwork web sayfamıza
bekliyoruz.
Zoopy have changed the object
Zoopy have changed the object that they return - instead of it being a single object which contains the data, it's an object which contains the object which contains the data.
If anyone would like to patch zoopy.inc so it works again, here we go:
--- zoopy.inc 2009-03-20 08:17:16.000000000 +0200
+++ zoopy.inc 2010-02-19 16:16:15.000000000 +0200
@@ -114,7 +114,7 @@ function emvideo_zoopy_extract($embed =
$data = zoopy_get_json_data($embed);
//print_r($data);die();
// Then get the ID through a regex
- preg_match('"id=[0-9]+"', $data->html, $match);
+ preg_match('"id=[0-9]+"', $data->oembed->html, $match);
if (!empty($match[0])) {
$zoopy_video_id = str_replace('id=', '', $match[0]);
return $zoopy_video_id;
Or simply change line 117 from:
preg_match('"id=[0-9]+"', $data->html, $match);
to:
preg_match('"id=[0-9]+"', $data->oembed->html, $match);
دليل - منتديات - العاب -
دليل - منتديات - العاب - تحميل صور - شات - العاب دولز - يوتيوب - برامج نت - صور - منتديات - شات - دردشة - منتدي
افلام - افلام عربية - افلام اجنبية - تحميل افلام - مشاهدة افلام - يوتيوب
افلام - افلام عربية - افلام مصرية - مصر - مصريات
تحميل صور
دليل - منتديات - العاب - تحميل صور - شات - العاب دولز - يوتيوب - برامج نت - صور - منتديات - شات - دردشة - منتدي - شات - دردشة - الرياض - شات سعودي - دليل مواقع - دليل مواقع الانترنت - شات - شات سعودي -
دردشة - دردشه - شات دلع - دردشة دلع -
شات عالم الرومانسية - دردشة عالم الرومانسية - دلع الرومانسية - شات دلع الرومانسية - شات مصري
العاب طبخ - العاب تلبيس - العاب بنات - العاب باربي - العاب ازياء - العاب ميك اب - العاب اكشن - العاب اطفال - العاب براتز - العاب سيارات - العاب كرتون - العاب سونيك - العاب ماريو - العاب ورق
Mother's day flowers
'Mother' is like an angel sent from heaven above. She is the sweetest and most delicate of all. There is no love like a mothers love. A mother's love is forever strong, never changing for all time and when her children need her most, a mother's love will shine. Be thankful to your mothers, for the unconditional love, comforting hugs and kindness she bestows. Make this Mothers Day special for your mother by sending her mother's day flowers
Chat Sohbet Fıkra Güncel
Chat
Sohbet
Fıkra
Güncel Haberler
mIRC
Cinsel Sohbet
3d sohbet
3d chat
Re:
artystyczna fotografia ślubna Bielsko Biała oraz profesjonalna fotografia ślubna Katowice wyjątkowy blog
zdjęcia ślubne plener ślubny fotografia ślubna Kraków
the Zoopy provider !!!!!!!!!!!!!
your server is running PHP < 5.2 you'll need to include an extra file as I use the php function json_decode which is only available in PHP versions 5.2 or greater. I put this file in a folder called php_scripts in my theme folder. If you want to put this file somewhere else you'll have to change this path in the function zoopy_get_json_data. Thank you,,.Internet Cowgirl
It's complicated
Thanks for this module,
This is the current (2009-02-24) format of the returned object stdClass Object ( [version] => 1.0 [title] => Evita appears on Bap TV [author_name] => Evita [author_url] => http://www.zoopy.com/Evita [provider_name] => Zoopy [provider_url] => http://www.zoopy.com [html] => ... [thumbnail_url] => http://stream.zoopy.com/media/cache/2008/05/22/2641/9434/thumb-640x640f.jpg [thumbnail_width] => 445 [thumbnail_height] => 335 ) The format as at 2010-02-02 is: stdClass Object ( [oembed] => stdClass Object ( [type] => video [version] => 1.0 [title] => Sasol Milk Bottles that turn green [author_name] => rickstar [author_url] => http://www.zoopy.com/rickstar [provider_name] => Zoopy [provider_url] => http://www.zoopy.com [width] => 640 [height] => 480 [html] => ... ) )Your post helped me to add
You better to explain about
213312312132312 revizyon ile
The screenshots and captions
Extra Bucks
Cheap LCD TVs Shopping
Cheap LCD TVs
Shopping Online
Technology News
Cheap IPODs
Social Bookmarks
Download Games
Download Games
Play Free Games Flash
Cheap Digital Cameras USA
Samsung LCD TV
Reviews LCD TVs
Reviews LCD TVs
Best Buy LCD TV
Reviews LCD TVs
Cheap Eye Glasses
Cheap Digital Cameras
Reviews Digital Cameras
Reviews Digital Cameras
Reviews Digital Cameras
Reviews Digital Cameras
Reviews Digital Cameras
Reviews Digital Cameras
Reviews Digital Cameras
Reviews Digital Cameras
Reviews Digital Cameras
Reviews Digital Cameras
Reviews Digital Cameras
Reviews LCD TV
Cheap LCD TVs
Shopping Online
Cheap Digital Cameras USA
Cheap Eye Glasses
Technology News
Download Games
Play Free Games Flash
Electronics Article
Samsung LN40b650
Cheap IPODs
Cheaps Computer Parts
Social Bookmarks
Samsung LCD TV
Reviews LCD TVs
Reviews LCD TVs
Best Buy LCD TV
Reviews LCD TVs
Cheap Eye Glasses
Cheap Digital Cameras
Reviews Digital Cameras
Reviews Digital Cameras
Reviews Digital Cameras
Reviews Digital Cameras
Reviews Digital Cameras
Reviews Digital Cameras
Reviews Digital Cameras
Reviews Digital Cameras
Reviews Digital Cameras
Reviews Digital Cameras
Reviews Digital Cameras
Reviews LCD TV
Cheap LCD TVs
Shopping Online
Cheap Digital Cameras USA
Cheap Eye Glasses
Technology News
Download Games
Play Free Games Flash
Electronics Article
Samsung LN40b650
Cheap IPODs
Cheaps Computer Parts
Social Bookmarks
More Information
Keyboard Reviews
Thanks
Zoopy Video
annuity quote
Zoopy being an online social
Zoopy in Drupal
ZOOPY VIDEO TO DRUPAL SITE !!!!!!!!!
CCD emfield module
Linking video
Excellent plugin - thank
Buy Custom Essay
Buy Term Paper
Buy Research Paper
paid to upload
Nice one
Thanks for the tutorial on
Its after a long long search
There was only one issue with
When this module first
EMBED ZOOPY VIDEO's !!!!!!!!!!!!!!
this is great.i thought this
This is a real time saver for
Marvelous
Zoop is an online and mobile
ZOPPYYY VIDEOOOOOOOOOOO!!!!
This Tutorial is amazing, i
how to install the Zoopy Videos.
Add Zoopy video o Drupal Site!!!!!!!!!!!
Zoopy does not currently
Zoopy video !!!!!!!!!!
auto parts
Information of CCK and Embeded media