SlideShare une entreprise Scribd logo
1  sur  42
Télécharger pour lire hors ligne
An Easier Way to
 Embed Video in Your
        Blog
 or how oEmbed can help you keep your
                 sanity
by Stephane Jolicoeur and Audrey Savard
Who are we?
The NFB
NFB.ca : film streaming
• http://nfb.ca/playlist/exhibition-nfb-
  photos-70-years-images/viewing/
  nfb-70-years/
The Problem
the insanity of
   embedding
you have a design to
keep
• deformed webpage or blog post
  because of an embedded film, picture
  or link is not acceptable
Let’s face it, embed code is strange!
CASE in POINT : EMBED CODE

<embed src="http://media1.nfb.ca/medias/flash/
ONFflvplayer-gama.swf" width="516" height="337"
allowfullscreen="true" allowscriptaccess="always"
autostart="false" autoplay="false"
flashvars="mID=IDOBJ3521&bufferTime=10&wid
th=516&height=337&image=http://media1.nfb.ca/
medias/nfb_tube/thumbs_large/2009/70ans-
tvbig.jpg&autostart=false&autoplay=false&show
WarningMessages=false&streamNotFoundDelay=
15&lang=en&getPlaylistOnEnd=true&playlist_id=
REL3521&embeddedMode=true"></embed>
Example



The result :
• ugly embed code in your blog posts
  when you edit posts.

• changes are error prone for HTML
  novices.

• the HTML code can be parsed by the
  wp tag filters and be crippled or not
  even shown!
One needs to do a lot of leg work - get
the title, author, etc when one wants
to quote properly.
There is a
 solution
Let the machines do the hard work
• it was created by pownce -- it's magic,
  almost...
• it is an exchange format for media,
  links and more...
less hacking gives
 you more time to
    create content
•help your seo with easy
linking to the original site
•prevent typos when
quoting the source
IT IS ...
oEmbed
oEmbed link


http://www.nfb.ca/film/strange_invaders/
And Because we
maintain many blogs ...
we cooked up a plugin.
Your embeding on
         oEmbed

• copy the url of the content page :
http://www.nfb.ca/film/runaway_teaser_3/

• paste it in your blog post
• et voilà!
No more embed
madness
Make this easy :
What is oEmbed

• it’s an exchange format ( meaning
  machines do the hard work )
• with providers and consumers
• made for media, links or rich content.
• Magical when implemented fully :
  discovery aspect
An automated exchange
        between :
• Providers :
   • a streaming site (ie : nfb.ca )
   • photo site (ie flickr.com)
   • ...
                        and
• Consumers :
   • a blog site
   • a mashup
   • ...
What do the machines
      speak ?

        JSON
         or
        XML
What is exchanged ?
• Author information
• provider information
• thumbnail link
• content type
• dimension information
• html code to do the embedding
What is this “discovery”



• information is in the headers
• no prior knowledge required
Discovery links :
<head>
(...)

<link rel="alternate" type="application/json+oembed" href="http://
www.nfb.ca/remote/services/oembed/?url=http%3A//www.nfb.ca/
film/runaway_teaser_3/&amp;format=json" title="Runaway (Teaser 3)
" />

<link rel="alternate" type="text/xml+oembed" href="http://www.nfb.ca/
remote/services/oembed/?url=http%3A//www.nfb.ca/film/
runaway_teaser_3/&amp;format=xml" title="Runaway (Teaser 3) " />

(...)
</head>
what the machine sees : (JSON )
{
"provider_url": "http://www.nfb.ca/", "title": "Runaway (Teaser 3) ",
"url": "http://www.nfb.ca/film/runaway_teaser_3/",
"html": "<object type="application/x-shockwave-flash" classid="clsid:D27CDB6E-
AE6D-11cf-96B8-444553540000" id="ONFflvplayer-gama" height="337" width="518"><param
name=movie value="http://media1.nfb.ca/medias/flash/ONFflvplayer-gama.swf"><param
name=quality value=high><param name=allowfullscreen value="true"><param name=allowscriptaccess
value="always"><param name=autostart value="false"><param name=flashvars value=
"mID=IDOBJ5811&image=http://media1.nfb.ca/medias/nfb_tube/thumbs_large/2009/
Runaway_TeaserAV5_BIG.jpg&width=516&height=337&autostart=false&showWarningMessages=false&str
eamNotFoundDelay=15&lang=en&getPlaylistOnEnd=true&embeddedMode=true"><embed src="http://
media1.nfb.ca/medias/flash/ONFflvplayer-gama.swf" height="337" width="518" allowscriptaccess=
"always" allowfullscreen="true" autostart="false" flashvars="mID=IDOBJ5811&image=http://
media1.nfb.ca/medias/nfb_tube/thumbs_large/2009/
Runaway_TeaserAV5_BIG.jpg&width=516&height=337&autostart=false&showWarningMessages=false&str
eamNotFoundDelay=15&lang=en&getPlaylistOnEnd=true&embeddedMode=true" name="ONFflvplayer-
gama"></embed></object>",
"author_name": "Cordell Barker",
"height": 337,
"width": 518,
"version": "1.0",
"thumbnail_width": 204,
"provider_name": "National Film Board of Canada / Office Nationale du Film du Canada",
"thumbnail_url": "http://media1.nfb.ca/medias/nfb_tube/thumbs_small/2009/
Runaway_TeaserAV5_small.jpg",
"type": "video",
"thumbnail_height": 115
}
Who uses it?
Some Providers
Some consumers
• the NFB (http://www.nfb.ca/)
• Buckybase (http://
  buckybase.appspot.com/)
• 280 Slides (http://280slides.com/)
• Dumble (http://oohembed.com/
  dumble/)

• YOU !
What can it do for
        blogging


• makes your life easier
• clean posts - no ugly html lurking into
  your pristine text
What you need to know
  about our plugin


• it's beta ... but in production
• partial support for the fullspecs
live demo
Where to get it


• http://wordpress.org/extend/plugins/
  nfb-video-plugin/

• https://launchpad.net/oembed-wp
The end




• we're open for
  suggestions for the
  next release
Ressources

• oEmbed google group : http://
  groups.google.com/group/oembed

• oEmbed site : http://
  www.oembed.com/

• Tutorial : http://
  www.webmonkey.com/tutorial/
  Get_Started_With_OEmbed

Contenu connexe

Dernier

Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 

Dernier (20)

Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 

En vedette

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

En vedette (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

ONF/NFB - An Easier Way to Embed Video in Your Blog

  • 1. An Easier Way to Embed Video in Your Blog or how oEmbed can help you keep your sanity by Stephane Jolicoeur and Audrey Savard
  • 4. NFB.ca : film streaming
  • 5. • http://nfb.ca/playlist/exhibition-nfb- photos-70-years-images/viewing/ nfb-70-years/
  • 7. the insanity of embedding
  • 8. you have a design to keep
  • 9. • deformed webpage or blog post because of an embedded film, picture or link is not acceptable
  • 10. Let’s face it, embed code is strange!
  • 11. CASE in POINT : EMBED CODE <embed src="http://media1.nfb.ca/medias/flash/ ONFflvplayer-gama.swf" width="516" height="337" allowfullscreen="true" allowscriptaccess="always" autostart="false" autoplay="false" flashvars="mID=IDOBJ3521&bufferTime=10&wid th=516&height=337&image=http://media1.nfb.ca/ medias/nfb_tube/thumbs_large/2009/70ans- tvbig.jpg&autostart=false&autoplay=false&show WarningMessages=false&streamNotFoundDelay= 15&lang=en&getPlaylistOnEnd=true&playlist_id= REL3521&embeddedMode=true"></embed>
  • 13. • ugly embed code in your blog posts when you edit posts. • changes are error prone for HTML novices. • the HTML code can be parsed by the wp tag filters and be crippled or not even shown!
  • 14. One needs to do a lot of leg work - get the title, author, etc when one wants to quote properly.
  • 15. There is a solution
  • 16. Let the machines do the hard work
  • 17. • it was created by pownce -- it's magic, almost... • it is an exchange format for media, links and more...
  • 18. less hacking gives you more time to create content
  • 19. •help your seo with easy linking to the original site •prevent typos when quoting the source
  • 23. And Because we maintain many blogs ... we cooked up a plugin.
  • 24. Your embeding on oEmbed • copy the url of the content page : http://www.nfb.ca/film/runaway_teaser_3/ • paste it in your blog post • et voilà!
  • 27. What is oEmbed • it’s an exchange format ( meaning machines do the hard work ) • with providers and consumers • made for media, links or rich content. • Magical when implemented fully : discovery aspect
  • 28. An automated exchange between : • Providers : • a streaming site (ie : nfb.ca ) • photo site (ie flickr.com) • ... and • Consumers : • a blog site • a mashup • ...
  • 29. What do the machines speak ? JSON or XML
  • 30. What is exchanged ? • Author information • provider information • thumbnail link • content type • dimension information • html code to do the embedding
  • 31. What is this “discovery” • information is in the headers • no prior knowledge required
  • 32. Discovery links : <head> (...) <link rel="alternate" type="application/json+oembed" href="http:// www.nfb.ca/remote/services/oembed/?url=http%3A//www.nfb.ca/ film/runaway_teaser_3/&amp;format=json" title="Runaway (Teaser 3) " /> <link rel="alternate" type="text/xml+oembed" href="http://www.nfb.ca/ remote/services/oembed/?url=http%3A//www.nfb.ca/film/ runaway_teaser_3/&amp;format=xml" title="Runaway (Teaser 3) " /> (...) </head>
  • 33. what the machine sees : (JSON ) { "provider_url": "http://www.nfb.ca/", "title": "Runaway (Teaser 3) ", "url": "http://www.nfb.ca/film/runaway_teaser_3/", "html": "<object type="application/x-shockwave-flash" classid="clsid:D27CDB6E- AE6D-11cf-96B8-444553540000" id="ONFflvplayer-gama" height="337" width="518"><param name=movie value="http://media1.nfb.ca/medias/flash/ONFflvplayer-gama.swf"><param name=quality value=high><param name=allowfullscreen value="true"><param name=allowscriptaccess value="always"><param name=autostart value="false"><param name=flashvars value= "mID=IDOBJ5811&image=http://media1.nfb.ca/medias/nfb_tube/thumbs_large/2009/ Runaway_TeaserAV5_BIG.jpg&width=516&height=337&autostart=false&showWarningMessages=false&str eamNotFoundDelay=15&lang=en&getPlaylistOnEnd=true&embeddedMode=true"><embed src="http:// media1.nfb.ca/medias/flash/ONFflvplayer-gama.swf" height="337" width="518" allowscriptaccess= "always" allowfullscreen="true" autostart="false" flashvars="mID=IDOBJ5811&image=http:// media1.nfb.ca/medias/nfb_tube/thumbs_large/2009/ Runaway_TeaserAV5_BIG.jpg&width=516&height=337&autostart=false&showWarningMessages=false&str eamNotFoundDelay=15&lang=en&getPlaylistOnEnd=true&embeddedMode=true" name="ONFflvplayer- gama"></embed></object>", "author_name": "Cordell Barker", "height": 337, "width": 518, "version": "1.0", "thumbnail_width": 204, "provider_name": "National Film Board of Canada / Office Nationale du Film du Canada", "thumbnail_url": "http://media1.nfb.ca/medias/nfb_tube/thumbs_small/2009/ Runaway_TeaserAV5_small.jpg", "type": "video", "thumbnail_height": 115 }
  • 36. Some consumers • the NFB (http://www.nfb.ca/) • Buckybase (http:// buckybase.appspot.com/) • 280 Slides (http://280slides.com/) • Dumble (http://oohembed.com/ dumble/) • YOU !
  • 37. What can it do for blogging • makes your life easier • clean posts - no ugly html lurking into your pristine text
  • 38. What you need to know about our plugin • it's beta ... but in production • partial support for the fullspecs
  • 40. Where to get it • http://wordpress.org/extend/plugins/ nfb-video-plugin/ • https://launchpad.net/oembed-wp
  • 41. The end • we're open for suggestions for the next release
  • 42. Ressources • oEmbed google group : http:// groups.google.com/group/oembed • oEmbed site : http:// www.oembed.com/ • Tutorial : http:// www.webmonkey.com/tutorial/ Get_Started_With_OEmbed