html - Embedly tutorial/example no longer working? -
i've been using modification of embedly's tutorial embed thumbnails of photos onto website. it's been working far, though hasn't been embedding photos , figured i'd maybe messed up, looks somehow service not working more.
if put in exact code give on website , run it, not work more , not embed anything.
am missing something? else able code working?
edit page looks like: http://i.imgur.com/kswyd.gif
edit working jsfiddle http://jsfiddle.net/enderx475/7axfd/
<!doctype> <html> <head> <title>page title</title> <script src="http://code.jquery.com/jquery-1.4.4.min.js"></script> <script src="http://scripts.embed.ly/jquery.embedly.min.js"></script> <script type="text/javascript"> $('document').ready(function(){ $('div.content').embedly({ maxwidth: 450, wmode: 'transparent', method: 'after' }); }); </script> </head> <body> <div class="content"> <article> <h2>title</h2> <p>lorizzle ma nizzle dolor sit amizzle, brizzle adipiscing elit. </p> <a href="http://www.youtube.com/watch?v=zbcgyptyby0">youtube</a> <p>maecenizzle owned bow wow wow. nam eros.</p> </article> <article> <h2>title 2</h2> <p>lorizzle ma nizzle dolor sit amizzle, brizzle adipiscing elit. </p> <a href="http://www.flickr.com/photos/churchclothing/2597225382/">flickr</a> <p>maecenizzle owned bow wow wow. nam eros.</p> </article> </div> </body> </html>
my embedly videos stopped working. looks requiring api key now. not sure when change happened, seems recent.
after sign-up here: http://embed.ly/pricing
you key , need pass param when calling embedly. make sure have latest version of jquery javascript file, set key.
Comments
Post a Comment