Closed gruberjl closed 6 years ago
Currently the code only supports http://youtube.com
http://youtube.com
The following are also valid YouTube urls:
https://youtube.com http://youtu.be/ https://youtu.be/
index.js line 142 should be: $('iframe[src*="http://www.youtube.com"],iframe[src*="https://www.youtube.com"],iframe[src*="http://youtu.be/"],iframe[src*="https://youtu.be/"]').each((index, element) => {
$('iframe[src*="http://www.youtube.com"],iframe[src*="https://www.youtube.com"],iframe[src*="http://youtu.be/"],iframe[src*="https://youtu.be/"]').each((index, element) => {
I'll send a pull request
Currently the code only supports
http://youtube.com
The following are also valid YouTube urls:
index.js line 142 should be:
$('iframe[src*="http://www.youtube.com"],iframe[src*="https://www.youtube.com"],iframe[src*="http://youtu.be/"],iframe[src*="https://youtu.be/"]').each((index, element) => {
I'll send a pull request