• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
TPU: Deferred YouTube Embedding

TPU: Deferred YouTube Embedding 1.0.0

No permission to download
#2
Very usefull addon! Thank you!

But I think it will be better to use own YouTube API Key, not always your key. And if you could add separate setting for YouTube API Key, it would be great.
 

W1zzard

Well-known member
#3
But I think it will be better to use own YouTube API Key, not always your key. And if you could add separate setting for YouTube API Key, it would be great.
I'm just using my own API key for now, it has more than enough requests per day for many forums. Also this makes it easy for people to install, because they don't have to request an API key from Google (which is simple, but still some work). I'll probably add an option to enter the API key in the future.
 

imthebest

Well-known member
#4
Very good idea of this add-on! Questions:

1. Would this affect the responsive design?
2. What is this awkward single line in your source code?

Code:
background: url("data:image/svg+xml;charset=utf-8;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxwYXRoIGQ9Ik04NC4xNSAyNi40djYuMzVjMCAyLjgzMy0wLjE1IDUuOTY3LTAuNDUgOS40IC0wLjEzMyAxLjctMC4yNjcgMy4xMTctMC40IDQuMjVsLTAuMTUgMC45NWMtMC4xNjcgMC43NjctMC4zNjcgMS41MTctMC42IDIuMjUgLTAuNjY3IDIuMzY3LTEuNTMzIDQuMDgzLTIuNiA1LjE1IC0xLjM2NyAxLjQtMi45NjcgMi4zODMtNC44IDIuOTUgLTAuNjMzIDAuMi0xLjMxNiAwLjMzMy0yLjA1IDAuNCAtMC43NjcgMC4xLTEuMyAwLjE2Ny0xLjYgMC4yIC00LjkgMC4zNjctMTEuMjgzIDAuNjE3LTE5LjE1IDAuNzUgLTIuNDM0IDAuMDM0LTQuODgzIDAuMDY3LTcuMzUgMC4xaC0yLjk1QzM4LjQxNyA1OS4xMTcgMzQuNSA1OS4wNjcgMzAuMyA1OWMtOC40MzMtMC4xNjctMTQuMDUtMC4zODMtMTYuODUtMC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EuNHoiIGZpbGw9IiMxRjFGMUYiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZmlsbC1ydWxlPSJldmVub2RkIi8+PHBvbHlnb24gcG9pbnRzPSIzMy4zIDQxLjQgMzMuMyAxNy43NSA1NiAyOS42IiBmaWxsPSIjRkZGRkZGIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==") no-repeat scroll center center / 84px 59px;
 
#7
@W1zzard, there is trouble with display youtube videos on mobile phones.
It can be fixed in EXTRA.CSS with following code:
Code:
@media (max-width: 480px) {
.Responsive .youtube-container {
  width:325px;
  height:244px;
}
}