Vimeo, Liveleak, and Vocaroo wmodes
This commit is contained in:
parent
b6c132c493
commit
227ae3888a
@ -4436,7 +4436,7 @@
|
|||||||
style: 'border: 0; width: 150px; height: 45px;',
|
style: 'border: 0; width: 150px; height: 45px;',
|
||||||
el: function() {
|
el: function() {
|
||||||
return $.el('object', {
|
return $.el('object', {
|
||||||
innerHTML: "<embed src='http://vocaroo.com/player.swf?playMediaID=" + (this.name.replace(/^i\//, '')) + "&autoplay=0' width='150' height='45' pluginspage='http://get.adobe.com/flashplayer/' type='application/x-shockwave-flash'></embed>"
|
innerHTML: "<embed src='http://vocaroo.com/player.swf?playMediaID=" + (this.name.replace(/^i\//, '')) + "&autoplay=0' wmode='opaque' width='150' height='45' pluginspage='http://get.adobe.com/flashplayer/' type='application/x-shockwave-flash'></embed>"
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -4444,7 +4444,7 @@
|
|||||||
regExp: /.*(?:vimeo.com\/)([^#\&\?]*).*/,
|
regExp: /.*(?:vimeo.com\/)([^#\&\?]*).*/,
|
||||||
el: function() {
|
el: function() {
|
||||||
return $.el('iframe', {
|
return $.el('iframe', {
|
||||||
src: "//player.vimeo.com/video/" + this.name
|
src: "//player.vimeo.com/video/" + this.name + "?wmode=opaque"
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
title: {
|
title: {
|
||||||
@ -4459,8 +4459,8 @@
|
|||||||
LiveLeak: {
|
LiveLeak: {
|
||||||
regExp: /.*(?:liveleak.com\/view.+i=)([0-9a-z_]+)/,
|
regExp: /.*(?:liveleak.com\/view.+i=)([0-9a-z_]+)/,
|
||||||
el: function() {
|
el: function() {
|
||||||
return $.el('iframe', {
|
return $.el('object', {
|
||||||
src: "http://www.liveleak.com/e/" + this.name + "?autostart=true"
|
innerHTML: "<embed src='http://www.liveleak.com/e/" + this.name + "?autostart=true' wmode='opaque' width='640' height='390' pluginspage='http://get.adobe.com/flashplayer/' type='application/x-shockwave-flash'></embed>"
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -4420,7 +4420,7 @@
|
|||||||
style: 'border: 0; width: 150px; height: 45px;',
|
style: 'border: 0; width: 150px; height: 45px;',
|
||||||
el: function() {
|
el: function() {
|
||||||
return $.el('object', {
|
return $.el('object', {
|
||||||
innerHTML: "<embed src='http://vocaroo.com/player.swf?playMediaID=" + (this.name.replace(/^i\//, '')) + "&autoplay=0' width='150' height='45' pluginspage='http://get.adobe.com/flashplayer/' type='application/x-shockwave-flash'></embed>"
|
innerHTML: "<embed src='http://vocaroo.com/player.swf?playMediaID=" + (this.name.replace(/^i\//, '')) + "&autoplay=0' wmode='opaque' width='150' height='45' pluginspage='http://get.adobe.com/flashplayer/' type='application/x-shockwave-flash'></embed>"
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -4428,7 +4428,7 @@
|
|||||||
regExp: /.*(?:vimeo.com\/)([^#\&\?]*).*/,
|
regExp: /.*(?:vimeo.com\/)([^#\&\?]*).*/,
|
||||||
el: function() {
|
el: function() {
|
||||||
return $.el('iframe', {
|
return $.el('iframe', {
|
||||||
src: "//player.vimeo.com/video/" + this.name
|
src: "//player.vimeo.com/video/" + this.name + "?wmode=opaque"
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
title: {
|
title: {
|
||||||
@ -4443,8 +4443,8 @@
|
|||||||
LiveLeak: {
|
LiveLeak: {
|
||||||
regExp: /.*(?:liveleak.com\/view.+i=)([0-9a-z_]+)/,
|
regExp: /.*(?:liveleak.com\/view.+i=)([0-9a-z_]+)/,
|
||||||
el: function() {
|
el: function() {
|
||||||
return $.el('iframe', {
|
return $.el('object', {
|
||||||
src: "http://www.liveleak.com/e/" + this.name + "?autostart=true"
|
innerHTML: "<embed src='http://www.liveleak.com/e/" + this.name + "?autostart=true' wmode='opaque' width='640' height='390' pluginspage='http://get.adobe.com/flashplayer/' type='application/x-shockwave-flash'></embed>"
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -4422,7 +4422,7 @@
|
|||||||
style: 'border: 0; width: 150px; height: 45px;',
|
style: 'border: 0; width: 150px; height: 45px;',
|
||||||
el: function() {
|
el: function() {
|
||||||
return $.el('object', {
|
return $.el('object', {
|
||||||
innerHTML: "<embed src='http://vocaroo.com/player.swf?playMediaID=" + (this.name.replace(/^i\//, '')) + "&autoplay=0' width='150' height='45' pluginspage='http://get.adobe.com/flashplayer/' type='application/x-shockwave-flash'></embed>"
|
innerHTML: "<embed src='http://vocaroo.com/player.swf?playMediaID=" + (this.name.replace(/^i\//, '')) + "&autoplay=0' wmode='opaque' width='150' height='45' pluginspage='http://get.adobe.com/flashplayer/' type='application/x-shockwave-flash'></embed>"
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -4430,7 +4430,7 @@
|
|||||||
regExp: /.*(?:vimeo.com\/)([^#\&\?]*).*/,
|
regExp: /.*(?:vimeo.com\/)([^#\&\?]*).*/,
|
||||||
el: function() {
|
el: function() {
|
||||||
return $.el('iframe', {
|
return $.el('iframe', {
|
||||||
src: "//player.vimeo.com/video/" + this.name
|
src: "//player.vimeo.com/video/" + this.name + "?wmode=opaque"
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
title: {
|
title: {
|
||||||
@ -4445,8 +4445,8 @@
|
|||||||
LiveLeak: {
|
LiveLeak: {
|
||||||
regExp: /.*(?:liveleak.com\/view.+i=)([0-9a-z_]+)/,
|
regExp: /.*(?:liveleak.com\/view.+i=)([0-9a-z_]+)/,
|
||||||
el: function() {
|
el: function() {
|
||||||
return $.el('iframe', {
|
return $.el('object', {
|
||||||
src: "http://www.liveleak.com/e/" + this.name + "?autostart=true"
|
innerHTML: "<embed src='http://www.liveleak.com/e/" + this.name + "?autostart=true' wmode='opaque' width='640' height='390' pluginspage='http://get.adobe.com/flashplayer/' type='application/x-shockwave-flash'></embed>"
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -161,13 +161,13 @@ Linkify =
|
|||||||
style: 'border: 0; width: 150px; height: 45px;'
|
style: 'border: 0; width: 150px; height: 45px;'
|
||||||
el: ->
|
el: ->
|
||||||
$.el 'object',
|
$.el 'object',
|
||||||
innerHTML: "<embed src='http://vocaroo.com/player.swf?playMediaID=#{@name.replace /^i\//, ''}&autoplay=0' width='150' height='45' pluginspage='http://get.adobe.com/flashplayer/' type='application/x-shockwave-flash'></embed>"
|
innerHTML: "<embed src='http://vocaroo.com/player.swf?playMediaID=#{@name.replace /^i\//, ''}&autoplay=0' wmode='opaque' width='150' height='45' pluginspage='http://get.adobe.com/flashplayer/' type='application/x-shockwave-flash'></embed>"
|
||||||
|
|
||||||
Vimeo:
|
Vimeo:
|
||||||
regExp: /.*(?:vimeo.com\/)([^#\&\?]*).*/
|
regExp: /.*(?:vimeo.com\/)([^#\&\?]*).*/
|
||||||
el: ->
|
el: ->
|
||||||
$.el 'iframe',
|
$.el 'iframe',
|
||||||
src: "//player.vimeo.com/video/#{@name}"
|
src: "//player.vimeo.com/video/#{@name}?wmode=opaque"
|
||||||
title:
|
title:
|
||||||
api: -> "https://vimeo.com/api/oembed.json?url=http://vimeo.com/#{@name}"
|
api: -> "https://vimeo.com/api/oembed.json?url=http://vimeo.com/#{@name}"
|
||||||
text: -> JSON.parse(@responseText).title
|
text: -> JSON.parse(@responseText).title
|
||||||
@ -175,8 +175,8 @@ Linkify =
|
|||||||
LiveLeak:
|
LiveLeak:
|
||||||
regExp: /.*(?:liveleak.com\/view.+i=)([0-9a-z_]+)/
|
regExp: /.*(?:liveleak.com\/view.+i=)([0-9a-z_]+)/
|
||||||
el: ->
|
el: ->
|
||||||
$.el 'iframe',
|
$.el 'object',
|
||||||
src: "http://www.liveleak.com/e/#{@name}?autostart=true"
|
innerHTML: "<embed src='http://www.liveleak.com/e/#{@name}?autostart=true' wmode='opaque' width='640' height='390' pluginspage='http://get.adobe.com/flashplayer/' type='application/x-shockwave-flash'></embed>"
|
||||||
|
|
||||||
audio:
|
audio:
|
||||||
regExp: /(.*\.(mp3|ogg|wav))$/
|
regExp: /(.*\.(mp3|ogg|wav))$/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user