We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7f4593 commit b29b2feCopy full SHA for b29b2fe
.gitignore
@@ -3,3 +3,4 @@
3
/.project
4
/node_modules/
5
install/importVimeo.php
6
+test.php
objects/functions.php
@@ -1625,6 +1625,7 @@ function fixURLQuery($query){
1625
}
1626
1627
function isYouTubeUrl($url) {
1628
+ $url = str_replace("'", '', $url);
1629
// List of possible YouTube domains
1630
$youtubeDomains = [
1631
'youtube.com',
@@ -1643,6 +1644,8 @@ function isYouTubeUrl($url) {
1643
1644
// Check if the host is in the list of YouTube domains
1645
if ($parsedUrl !== false && in_array($parsedUrl, $youtubeDomains)) {
1646
return true;
1647
+ }else{
1648
+
1649
1650
1651
return false;
0 commit comments