Embed Youtube HTML5
Заменяет старый контейнер встраиваемого видео Youtube на сайтах на новый iframe.
Теперь можно отключить Flash Plugin и наслаждаться HTML5 плеером на форумах, где админы не следят за новыми технологиями.
Latest reviews
- (2016-08-15) Viktor K: working in Chrome
Latest issues
- (2016-01-13, v:0.2) Nerijus Baliūnas: patch
Please apply the following diff: --- embedyoutube.js.orig 2016-01-13 18:01:23.000000000 +0200 +++ embedyoutube.js 2016-01-13 18:11:59.028225982 +0200 @@ -4,8 +4,8 @@ var width = $(this).attr("width"); var height = $(this).attr("height"); - if((src.substr(0,19) == "http://youtube.com/" || - src.substr(0,20) == "https://youtube.com/") && src.length>0) { + if((src.substr(0,19) == "http://youtube.com/" || src.substr(0,23) == "http://www.youtube.com/" || + src.substr(0,20) == "https://youtube.com/" || src.substr(0,24) == "https://www.youtube.com/") && src.length>0) { src = src.replace("/v/","/embed/"); var index = src.indexOf("&"); - (2015-12-25, v:0.2) Great extension
But some sites embed with www.youtube.com not just youtube.com. So you should add that. I ended up just modifying the code and reloading. Thanks for your work.
Statistics
Installs
293
history
Category
Rating
4.5 (2 votes)
Last update / version
2015-04-14 / 0.2
Listing languages
ru