【发布时间】:2011-07-22 22:18:55
【问题描述】:
我一直在使用 embedly's tutorial 的修改来将照片的缩略图嵌入到我的网站上。到目前为止,它运行得非常好,虽然最近它没有嵌入我的照片,并认为我可能会搞砸一些事情,但看起来这项服务不知何故不再工作了。
如果你在他们的网站上输入他们给你的确切代码并运行它,它显然不再工作并且没有嵌入任何东西。
我错过了什么吗?有其他人能够让这段代码工作吗?
编辑这是我的页面的样子:http://i.imgur.com/kSWyD.gif
编辑工作 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>
【问题讨论】: