Socket
Book a DemoInstallSign in
Socket

embedza

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

embedza - npm Package Compare versions

Comparing version

to
2.2.0

5

assets/player.js
$(document).on('click', '.ez-player-placeholder', function (event) {
if (event.target.nodeName === 'A') return;
// Click on title => follow link
if ($(event.target).hasClass('ez-player-title')) return;
event.preventDefault();
var $el = $(this);

@@ -5,0 +8,0 @@

@@ -0,1 +1,8 @@

2.2.0 / 2017-05-05
------------------
- Improve player placeholder layout. All area should be
clickable without JS.
2.1.0 / 2017-01-27

@@ -2,0 +9,0 @@ ------------------

6

lib/templates/default_player.js

@@ -53,3 +53,3 @@ 'use strict';

<div class="ez-player-container" style="padding-bottom: <%= _.round(100 / player.media.width * player.media.height, 4) %>%;">
<div class="ez-player-placeholder">
<a class="ez-player-placeholder" target="_blank" href="<%- self.src %>" rel="nofollow">
<div class="ez-player-picture" style="background-image: url('<%- thumbnail.href %>');"></div>

@@ -59,3 +59,3 @@ <% if (self.meta.title) { %>

<div class="ez-player-title">
<a target="_blank" href="<%- self.src %>" rel="nofollow"><%- self.meta.title %></a>
<%- self.meta.title %>
</div>

@@ -69,4 +69,4 @@ </div>

<% } %>
</div>
</a>
</div>
</div>`;
{
"name": "embedza",
"version": "2.1.0",
"version": "2.2.0",
"description": "Create HTML snippets/embeds from URLs using info from oEmbed, Open Graph, meta tags.",

@@ -37,3 +37,4 @@ "keywords": [

"proclaim": "^3.4.4",
"pug": "^2.0.0-beta6"
"pug": "^2.0.0-beta6",
"supertest": "^3.0.0"
},

@@ -47,6 +48,4 @@ "scripts": {

"start": "node support/server",
"build-demo": "rm -rf ./demo/embedza.js && browserify -r ./ -s embedza -o ./demo/embedza.js",
"gh-pages": "git subtree split --prefix demo -b gh-pages && git push -f origin gh-pages:gh-pages && git branch -D gh-pages",
"heroku-postbuild": "npm install express pug"
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.