SlideShare une entreprise Scribd logo
1  sur  19
Télécharger pour lire hors ligne
oEmbed




            http://puresign.be
                                 oEmbed
            @puresign
                                 Sven Decabooter
Thursday 13 September 2012
oEmbed




   Contents
                             • What?
                             • oEmbed in Drupal
                             • Extending the module
                             • Demo




                                                               2
Thursday 13 September 2012
oEmbed




                             What is it?


Thursday 13 September 2012
oEmbed




              What?
                             oEmbed is a format for allowing an
                             embedded representation of a URL on
                             third party sites. The simple API allows a
                             website to display embedded content
                             (such as photos or videos) when a user
                             posts a link to that resource, without
                             having to parse the resource directly.

                             http://oembed.com/




                                                                          4
Thursday 13 September 2012
oEmbed




              What?          Consumer:
                             http://www.flickr.com/services/oembed/?url=http%3A//
                             www.flickr.com/photos/bees/2341623661/


                             Provider:
                             {
                             	   "version": "1.0",
                             	   "type": "photo",
                             	   "width": 240,
                             	   "height": 160,
                             	   "title": "ZB8T0193",
                             	   "url": "http://farm4.static.flickr.com/
                             3123/2341623661_7c99f48bbf_m.jpg",
                             	   "author_name": "Bees",
                             	   "author_url": "http://www.flickr.com/photos/bees/",
                             	   "provider_name": "Flickr",
                             	   "provider_url": "http://www.flickr.com/"
                             }




                                                                                               5
Thursday 13 September 2012
oEmbed




              What?
                             http://www.youtube.com/watch?v=yzdZHByJmFUa




                                                                            6
Thursday 13 September 2012
oEmbed




                             oEmbed in
                               Drupal

Thursday 13 September 2012
oEmbed




              What?              http://drupal.org/project/oembed
                                 By Dave Reid - bangpound - voxpelli

                             •   oEmbed Core
                             •   oEmbed Field
                             •   oEmbed Filter
                             •   oEmbed Embed.ly
                             •   oEmbed Provider
                             •   Media: oEmbed



                                                                          8
Thursday 13 September 2012
oEmbed                                                                oEmbed




       Core                  • Manage oEmbed providers (CTools exportables)
                             • Test oEmbed URLs
                             • Theming for oEmbed output
                             • Set of default providers
                             • Form API elements:
                              •   oembed - oembed_bare - oembed_thumbnail

                             • API functions
                             • Caching


                                                                                     9
Thursday 13 September 2012
oEmbed                 oEmbed




       Core




                                      10
Thursday 13 September 2012
oEmbed                                                       oEmbed




       Field
                             • Provides an oEmbed Field formatter
                             • For Link fields
                                (http://drupal.org/project/link)




                                                                            11
Thursday 13 September 2012
oEmbed                                                    oEmbed




       Filter
                             • Provides oEmbed filter for Drupal input
                                formats




                                                                         12
Thursday 13 September 2012
oEmbed                                                         oEmbed




  Embed.ly
                             • Adds definitions for providers supported
                                by embed.ly

                             • http://embed.ly: paid service to embed
                                rich media in your apps / websites




                                                                          13
Thursday 13 September 2012
oEmbed                                                      oEmbed




      Provider
                             • Makes it possible for a Drupal site to
                                become an oEmbed provider itself

                             • Provides oEmbed data in JSON /
                                JSONP / XML formats

                             • Defaults to rendering node HTML output




                                                                           14
Thursday 13 September 2012
Media:                                                       oEmbed




      oEmbed
                             • Integration with Media module
                                (http://drupal.org/project/media)

                             • Creates a oEmbed PHP Stream Wrapper
                                for Resource

                             • Implements the various formatter and file
                                listing hooks in the Media module.




                                                                             15
Thursday 13 September 2012
oEmbed




                             Extending the
                                module

Thursday 13 September 2012
oEmbed




Extending                    • add support for an extra provider:
                                hook_default_oembedcore_provider()
                             • alter existing providers:
                                hook_oembedprovider_alter()
                             • alter oembed request data (to provider):
                                hook_oembed_request_alter()
                             • add your own providing logic (for your
                                oembed_provider enabled website) :
                                hook_oembedprovider()


                                                                             17
Thursday 13 September 2012
oEmbed




                             Demo


Thursday 13 September 2012
oEmbed




Questions                    Contact

                             Sven Decabooter
                             sven@puresign.be
                             @sdecabooter

                             Pure Sign
                             Liefkensstraat 35B
                             9032 Gent - Wondelgem
                             Tel. 09/277 78 24

                             http://puresign.be
                             contact@puresign.be
                             @puresign
                                                              19
Thursday 13 September 2012

Contenu connexe

Similaire à Adding oEmbed Support to Drupal Sites

PFCongres 2012 - Rock Solid Deployment of PHP Apps
PFCongres 2012 - Rock Solid Deployment of PHP AppsPFCongres 2012 - Rock Solid Deployment of PHP Apps
PFCongres 2012 - Rock Solid Deployment of PHP AppsPablo Godel
 
Fluentd loves MongoDB, at MongoDB SV User Group, July 17, 2012
Fluentd loves MongoDB, at MongoDB SV User Group, July 17, 2012Fluentd loves MongoDB, at MongoDB SV User Group, July 17, 2012
Fluentd loves MongoDB, at MongoDB SV User Group, July 17, 2012Treasure Data, Inc.
 
Who Pulls the Strings?
Who Pulls the Strings?Who Pulls the Strings?
Who Pulls the Strings?Ronny Trommer
 
Introducing Immutant
Introducing Immutant Introducing Immutant
Introducing Immutant Jim Crossley
 
Ruby CI with Jenkins
Ruby CI with JenkinsRuby CI with Jenkins
Ruby CI with Jenkinscowboyd
 
Best Practices for (Enterprise) OSGi applications - Tim Ward
Best Practices for (Enterprise) OSGi applications - Tim WardBest Practices for (Enterprise) OSGi applications - Tim Ward
Best Practices for (Enterprise) OSGi applications - Tim Wardmfrancis
 
Building businesspost.ie using Node.js
Building businesspost.ie using Node.jsBuilding businesspost.ie using Node.js
Building businesspost.ie using Node.jsRichard Rodger
 
Fluentd: the missing log collector
Fluentd: the missing log collectorFluentd: the missing log collector
Fluentd: the missing log collectortd_kiyoto
 
Symfony2 and MongoDB
Symfony2 and MongoDBSymfony2 and MongoDB
Symfony2 and MongoDBPablo Godel
 
Web Page Test - Beyond the Basics
Web Page Test - Beyond the BasicsWeb Page Test - Beyond the Basics
Web Page Test - Beyond the BasicsAndy Davies
 
Back-end with SonataAdminBundle (and Symfony2, of course...)
Back-end with SonataAdminBundle (and Symfony2, of course...)Back-end with SonataAdminBundle (and Symfony2, of course...)
Back-end with SonataAdminBundle (and Symfony2, of course...)Andrea Delfino
 
Of metacello, git, scripting and things
Of metacello, git, scripting and thingsOf metacello, git, scripting and things
Of metacello, git, scripting and thingsESUG
 
Newbies, you are not alone
Newbies, you are not aloneNewbies, you are not alone
Newbies, you are not aloneBrandon Dove
 
Tame your test environment with Docker Compose
Tame your test environment with Docker ComposeTame your test environment with Docker Compose
Tame your test environment with Docker ComposeKevin Bell
 
Ironfan: Build a Hadoop Cluster in 20 minutes
Ironfan: Build a Hadoop Cluster in 20 minutesIronfan: Build a Hadoop Cluster in 20 minutes
Ironfan: Build a Hadoop Cluster in 20 minutestemujin9
 
Developing RESTful Web APIs with Python, Flask and MongoDB
Developing RESTful Web APIs with Python, Flask and MongoDBDeveloping RESTful Web APIs with Python, Flask and MongoDB
Developing RESTful Web APIs with Python, Flask and MongoDBNicola Iarocci
 

Similaire à Adding oEmbed Support to Drupal Sites (20)

PFCongres 2012 - Rock Solid Deployment of PHP Apps
PFCongres 2012 - Rock Solid Deployment of PHP AppsPFCongres 2012 - Rock Solid Deployment of PHP Apps
PFCongres 2012 - Rock Solid Deployment of PHP Apps
 
Fluentd loves MongoDB, at MongoDB SV User Group, July 17, 2012
Fluentd loves MongoDB, at MongoDB SV User Group, July 17, 2012Fluentd loves MongoDB, at MongoDB SV User Group, July 17, 2012
Fluentd loves MongoDB, at MongoDB SV User Group, July 17, 2012
 
Who Pulls the Strings?
Who Pulls the Strings?Who Pulls the Strings?
Who Pulls the Strings?
 
Introducing Immutant
Introducing Immutant Introducing Immutant
Introducing Immutant
 
Io lang
Io langIo lang
Io lang
 
Intro to Chef
Intro to ChefIntro to Chef
Intro to Chef
 
Ruby CI with Jenkins
Ruby CI with JenkinsRuby CI with Jenkins
Ruby CI with Jenkins
 
Best Practices for (Enterprise) OSGi applications - Tim Ward
Best Practices for (Enterprise) OSGi applications - Tim WardBest Practices for (Enterprise) OSGi applications - Tim Ward
Best Practices for (Enterprise) OSGi applications - Tim Ward
 
Building businesspost.ie using Node.js
Building businesspost.ie using Node.jsBuilding businesspost.ie using Node.js
Building businesspost.ie using Node.js
 
Fluentd: the missing log collector
Fluentd: the missing log collectorFluentd: the missing log collector
Fluentd: the missing log collector
 
Complete Dojo
Complete DojoComplete Dojo
Complete Dojo
 
Symfony2 and MongoDB
Symfony2 and MongoDBSymfony2 and MongoDB
Symfony2 and MongoDB
 
Web Page Test - Beyond the Basics
Web Page Test - Beyond the BasicsWeb Page Test - Beyond the Basics
Web Page Test - Beyond the Basics
 
Back-end with SonataAdminBundle (and Symfony2, of course...)
Back-end with SonataAdminBundle (and Symfony2, of course...)Back-end with SonataAdminBundle (and Symfony2, of course...)
Back-end with SonataAdminBundle (and Symfony2, of course...)
 
Of metacello, git, scripting and things
Of metacello, git, scripting and thingsOf metacello, git, scripting and things
Of metacello, git, scripting and things
 
Newbies, you are not alone
Newbies, you are not aloneNewbies, you are not alone
Newbies, you are not alone
 
Scraping in 20 mins
Scraping in 20 minsScraping in 20 mins
Scraping in 20 mins
 
Tame your test environment with Docker Compose
Tame your test environment with Docker ComposeTame your test environment with Docker Compose
Tame your test environment with Docker Compose
 
Ironfan: Build a Hadoop Cluster in 20 minutes
Ironfan: Build a Hadoop Cluster in 20 minutesIronfan: Build a Hadoop Cluster in 20 minutes
Ironfan: Build a Hadoop Cluster in 20 minutes
 
Developing RESTful Web APIs with Python, Flask and MongoDB
Developing RESTful Web APIs with Python, Flask and MongoDBDeveloping RESTful Web APIs with Python, Flask and MongoDB
Developing RESTful Web APIs with Python, Flask and MongoDB
 

Dernier

Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 

Dernier (20)

Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 

Adding oEmbed Support to Drupal Sites

  • 1. oEmbed http://puresign.be oEmbed @puresign Sven Decabooter Thursday 13 September 2012
  • 2. oEmbed Contents • What? • oEmbed in Drupal • Extending the module • Demo 2 Thursday 13 September 2012
  • 3. oEmbed What is it? Thursday 13 September 2012
  • 4. oEmbed What? oEmbed is a format for allowing an embedded representation of a URL on third party sites. The simple API allows a website to display embedded content (such as photos or videos) when a user posts a link to that resource, without having to parse the resource directly. http://oembed.com/ 4 Thursday 13 September 2012
  • 5. oEmbed What? Consumer: http://www.flickr.com/services/oembed/?url=http%3A// www.flickr.com/photos/bees/2341623661/ Provider: { "version": "1.0", "type": "photo", "width": 240, "height": 160, "title": "ZB8T0193", "url": "http://farm4.static.flickr.com/ 3123/2341623661_7c99f48bbf_m.jpg", "author_name": "Bees", "author_url": "http://www.flickr.com/photos/bees/", "provider_name": "Flickr", "provider_url": "http://www.flickr.com/" } 5 Thursday 13 September 2012
  • 6. oEmbed What? http://www.youtube.com/watch?v=yzdZHByJmFUa 6 Thursday 13 September 2012
  • 7. oEmbed oEmbed in Drupal Thursday 13 September 2012
  • 8. oEmbed What? http://drupal.org/project/oembed By Dave Reid - bangpound - voxpelli • oEmbed Core • oEmbed Field • oEmbed Filter • oEmbed Embed.ly • oEmbed Provider • Media: oEmbed 8 Thursday 13 September 2012
  • 9. oEmbed oEmbed Core • Manage oEmbed providers (CTools exportables) • Test oEmbed URLs • Theming for oEmbed output • Set of default providers • Form API elements: • oembed - oembed_bare - oembed_thumbnail • API functions • Caching 9 Thursday 13 September 2012
  • 10. oEmbed oEmbed Core 10 Thursday 13 September 2012
  • 11. oEmbed oEmbed Field • Provides an oEmbed Field formatter • For Link fields (http://drupal.org/project/link) 11 Thursday 13 September 2012
  • 12. oEmbed oEmbed Filter • Provides oEmbed filter for Drupal input formats 12 Thursday 13 September 2012
  • 13. oEmbed oEmbed Embed.ly • Adds definitions for providers supported by embed.ly • http://embed.ly: paid service to embed rich media in your apps / websites 13 Thursday 13 September 2012
  • 14. oEmbed oEmbed Provider • Makes it possible for a Drupal site to become an oEmbed provider itself • Provides oEmbed data in JSON / JSONP / XML formats • Defaults to rendering node HTML output 14 Thursday 13 September 2012
  • 15. Media: oEmbed oEmbed • Integration with Media module (http://drupal.org/project/media) • Creates a oEmbed PHP Stream Wrapper for Resource • Implements the various formatter and file listing hooks in the Media module. 15 Thursday 13 September 2012
  • 16. oEmbed Extending the module Thursday 13 September 2012
  • 17. oEmbed Extending • add support for an extra provider: hook_default_oembedcore_provider() • alter existing providers: hook_oembedprovider_alter() • alter oembed request data (to provider): hook_oembed_request_alter() • add your own providing logic (for your oembed_provider enabled website) : hook_oembedprovider() 17 Thursday 13 September 2012
  • 18. oEmbed Demo Thursday 13 September 2012
  • 19. oEmbed Questions Contact Sven Decabooter sven@puresign.be @sdecabooter Pure Sign Liefkensstraat 35B 9032 Gent - Wondelgem Tel. 09/277 78 24 http://puresign.be contact@puresign.be @puresign 19 Thursday 13 September 2012