Skip to content

Commit

Permalink
2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Fauntleroy committed Nov 30, 2019
1 parent 16121e3 commit d0eb972
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions dist/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -56550,8 +56550,7 @@ var _gifitApp = _interopRequireDefault(require("./components/gifit-app.jsx"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

function initializeGifit(youtubePlayerApiElement) {
var is2015Player = !!youtubePlayerApiElement.querySelector(':scope .ytp-chrome-controls');
var is2018Player = !!document.querySelector('#movie_player'); // Find YouTube elements we'll be injecting into
var is2015Player = !!youtubePlayerApiElement.querySelector(':scope .ytp-chrome-controls'); // Find YouTube elements we'll be injecting into

var youtubePlayerChromeElement = youtubePlayerApiElement.querySelector(':scope .html5-player-chrome, :scope .ytp-chrome-bottom');
var youtubePlayerControlsElement = youtubePlayerApiElement.querySelector(':scope .html5-video-controls, :scope .ytp-chrome-controls');
Expand Down
2 changes: 1 addition & 1 deletion dist/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "GIFit!",
"description": "Make GIFs from YouTube videos",
"version": "2.0.0",
"version": "2.0.2",
"permissions": ["activeTab"],
"content_scripts": [{
"matches": ["*://www.youtube.com/*"],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gifit-extension",
"version": "2.0.0",
"version": "2.0.2",
"description": "Make GIFs from YouTube videos in Chrome & Firefox",
"repository": {
"type": "git",
Expand Down
1 change: 0 additions & 1 deletion src/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import GifitApp from './components/gifit-app.jsx';

function initializeGifit (youtubePlayerApiElement) {
const is2015Player = !!youtubePlayerApiElement.querySelector(':scope .ytp-chrome-controls');
const is2018Player = !!document.querySelector('#movie_player');

// Find YouTube elements we'll be injecting into
var youtubePlayerChromeElement = youtubePlayerApiElement.querySelector(':scope .html5-player-chrome, :scope .ytp-chrome-bottom');
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "GIFit!",
"description": "Make GIFs from YouTube videos",
"version": "2.0.0",
"version": "2.0.2",
"permissions": ["activeTab"],
"content_scripts": [{
"matches": ["*://www.youtube.com/*"],
Expand Down

0 comments on commit d0eb972

Please sign in to comment.