SlideShare ist ein Scribd-Unternehmen logo
1 von 19
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Ähnlich wie 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
 

Ähnlich wie 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
 

Kürzlich hochgeladen

The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
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
 
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
 
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
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
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
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
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
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 

Kürzlich hochgeladen (20)

The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
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
 
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
 
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
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
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
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
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
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 

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