Skip to content

Commit

Permalink
Cambios de estilo mínimos para el loader
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloT21 committed Oct 20, 2022
1 parent b9360e7 commit 7a9e025
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions media/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ display: none;
border: 16px solid #f3f3f3;
border-radius: 50%;
border-top: 16px solid #3498db;
width: 120px;
height: 120px;
width: 90px;
height: 90px;
-webkit-animation: spin 2s linear infinite; /* Safari */
animation: spin 2s linear infinite;
}
Expand Down
3 changes: 0 additions & 3 deletions view/class-view.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,6 @@ public function get_videos($link){
$html = file_get_contents($link);
preg_match_all("#(?<=v=|v\/|vi=|vi\/|youtu.be\/)[a-zA-Z0-9_-]{11}#", $html, $matches);
$matches = array_unique($matches[0]);
/*foreach ($matches as &$match){
$match = "https://www.youtube.com/embed/" . $match ."?feature=oembed";
}*/
$youtubeLinks = array_map(function($match){
return "https://www.youtube.com/embed/{$match}?feature=oembed";
},$matches );
Expand Down

0 comments on commit 7a9e025

Please sign in to comment.