Permalink
Browse files

added scivee.tv, added popplet

  • Loading branch information...
1 parent dcb9fb9 commit 7c880152f184dff7d26e8a84be3456cf87b9bb71 @starfishmod committed Mar 9, 2012
Showing with 19 additions and 11 deletions.
  1. +2 −8 README.md
  2. +1 −1 examples/test.html
  3. +16 −2 jquery.oembed.js
View
10 README.md
@@ -64,6 +64,7 @@ Current 3rd party sources include:
* animoto - oembed
* justin.tv - YQL JSON
* livestream - embedded
+* scivee - embedded
####Audio
@@ -132,6 +133,7 @@ Current 3rd party sources include:
* deviantart - oembed
* mobypictures - oembed
* prezi - embedded
+* popplet - embedded
---
####TODO:
@@ -163,7 +165,6 @@ Current 3rd party sources include:
* http://blog.tourwrist.com/?p=271
* http://www.userplane.com/docs/embed
* http://www.surveygizmo.com/
-* http://www.scivee.tv/
* http://www.jotform.com/
* http://www.lomography.com/
* http://help.creator.zoho.com/Embed-Form-View-in-Website.html
@@ -172,13 +173,6 @@ Current 3rd party sources include:
* http://www.4shared.com/
-http://www.scivee.tv/node/39803
-<embed src="http://www.scivee.tv/flash/embedCast.swf" allowfullscreen="true" wmode="transparent" allowscriptaccess="always" width="480" height="400" flashvars="id=39803&type=3"></embed>
-
-
-http://popplet.com/app/#/334
-<embed src="http://popplet.com/app/Popplet_Alpha.swf?page_id=334&em=1" height="460" width="460" allowfullscreen="false" allowscriptaccess="always" type="application/x-shockwave-flash"></embed>
-
http://www.regards.com/EGM.cfm/15112
<embed src='http://www.regards.com//images/romance/love_undersheets_sr.swf' pluginspage='http://www.macromedia.com/shockwave/download/' type='application/x-shockwave-flash' width='525' height='325'></embed>
View
2 examples/test.html
@@ -40,7 +40,7 @@
</textarea>
<hr/>
<div id="out"></div>
-
+<object width="460" height="460"><param value="http://popplet.com/app/Popplet_Alpha.swf?page_id=334&em=1" name="movie"></param><param value="true" name="allowFullScreen"></param><param value="always" name="allowscriptaccess"></param><embed src="http://popplet.com/app/Popplet_Alpha.swf?page_id=334&em=1" height="460" width="460" allowfullscreen="false" allowscriptaccess="always" type="application/x-shockwave-flash"></embed></object>
</body>
</html>
View
18 jquery.oembed.js
@@ -344,7 +344,14 @@
height: '269',
src: "http://www.xtranormal.com/xtraplayr/$1/$2"
}
- }), new $.fn.oembed.OEmbedProvider("gametrailers", "video", ["gametrailers\\.com/video/.+"], null, {
+ }),
+ new $.fn.oembed.OEmbedProvider("scivee", "video", ["scivee.tv/node/.+"], null, {
+ templateRegex: /.*tv\/node\/(.+)/,
+ embedtag: {width: '480',height: '400',
+ src: "http://www.scivee.tv/flash/embedCast.swf?",flashvars:"id=$1&type=3"}
+ }),
+
+ new $.fn.oembed.OEmbedProvider("gametrailers", "video", ["gametrailers\\.com/video/.+"], null, {
templateRegex: /.*com\/video\/([\w\-]+)\/([\w\-]+).*/,
embedtag: {
width: '512',
@@ -548,7 +555,14 @@
, url: function(externalurl){return 'http://speakerdeck.com/oembed.json?url='+externalurl}
, datareturn:function(results){return results.html || ''}
}
- }),
+ }),
+
+
+ new $.fn.oembed.OEmbedProvider("popplet", "rich", ["popplet.com/app/.*"],null,
+ {templateRegex:/.*#\/([^\/]+).*/,
+ embedtag : {width:460,height: 460,
+ src: "http://popplet.com/app/Popplet_Alpha.swf?page_id=$1&em=1"}
+ }), //Not Working -due to popplet
new $.fn.oembed.OEmbedProvider("prezi", "rich", ["prezi.com/.*"],null,

0 comments on commit 7c88015

Please sign in to comment.