Robin Ward
c322cccd53
FIX: Memory Leaks when decorating posts ( #7749 )
...
* Remove long-deprecated method
* FIX: Memory Leaks when decorating posts
Previously we'd keep creating mixins dynamically when decorating the
same class.
This code changes the API to recommend an `id` parameter for each
decorator which will avoid leaks. All plugins should be updated to
include this parameter, although if they don't in the meantime it'll
just mean a warning in the console (and a continued leak.)
2019-06-11 17:21:23 +02:00
Sam Saffron
30990006a9
DEV: enable frozen string literal on all files
...
This reduces chances of errors where consumers of strings mutate inputs
and reduces memory usage of the app.
Test suite passes now, but there may be some stuff left, so we will run
a few sites on a branch prior to merging
2019-05-13 09:31:32 +08:00
Joe
aa5a993935
UX: Youtube embed title overlaps with select-kit
2018-08-24 14:32:22 +08:00
Joffrey JAFFEUX
60ff0e9b8c
missing prettified files
2018-06-15 18:42:20 +02:00
Arpit Jalan
69693f89f5
Hide `lazyYT` plugin from admin plugin page.
2018-05-15 20:55:43 +05:30
Régis Hanol
a74cfd1418
Use 'reduce_cooked' API instead of a plugin style
2018-05-09 19:39:17 +02:00
Arpit Jalan
6aeeae287b
fix the build (take 2)
2017-11-27 23:49:35 +05:30
Arpit Jalan
bf415f2d40
FIX: youtube playlist videos were not functioning properly in fullscreen
2017-11-27 22:56:44 +05:30
gotens1211
29947f6e95
Added margin to the video container in lazyYt plugin
2017-01-24 22:27:37 +05:30
Guo Xiang Tan
a1aeedde53
FIX: Text selection disappearing when lazyYT is applied.
2017-01-05 12:06:07 +08:00
Robin Ward
782b062baa
FIX: Selecting text was weird with the latest Chrome hack
2016-10-31 12:40:19 -04:00
Robin Ward
afdede0e2e
FIX: Hack around Chrome bug for playing videos in fullscreen
2016-10-31 11:27:07 -04:00
Robin Ward
d538bcbe40
FIX: Don't cloak videos once they begin playing
2016-02-29 13:56:54 -05:00
Robin Ward
3a78321c63
`withPluginApi` means you don't have to check for null.
2016-02-16 12:17:22 -05:00
Robin Ward
9b8871d7dd
PluginAPI for more stable backwards compatibility going forward
2016-02-12 15:46:36 -05:00
Régis Hanol
c2bd159ace
SECURITY: fix XSS in lazyYT plugin
2016-01-30 12:32:48 +01:00
Arpit Jalan
076ed66e69
FIX: switch to iframe when embedding YouTube playlist
2015-12-04 08:16:22 +05:30
Arpit Jalan
ecd1bfe4cb
FIX: onebox youtube channels and handle deleted video links
2015-08-18 14:48:53 +05:30
Arpit Jalan
7608409fdb
UX: allow youtube embed width and height to be passed as param
2015-05-26 18:03:50 +05:30
Arpit Jalan
c2312a427a
UX: no need to show protocol in youtube link
2015-05-09 01:18:42 +05:30
Arpit Jalan
597dc2f0b6
FIX: show youtube URL if title is undefined
2015-05-08 22:51:45 +05:30
Arpit Jalan
88135e5b22
FIX: fetch YouTube video title via oEmbed
2015-05-08 18:03:36 +05:30
Arpit Jalan
d1bcda2d5b
FIX: non-secure warning from YouTube thumbnails
2015-02-20 09:09:04 +05:30
Robin Ward
7dea65122e
Support a `url` field in plugin metadata
2015-02-06 18:08:57 -05:00
Arpit Jalan
cc0f3b83ee
Update lazyYT plugin to version 1.0.1
2015-01-27 18:14:34 +05:30
Dean Taylor
ab1ace099c
FIX: Non-secure warning from YouTube thumbnails
...
YouTube thumbnails where being loaded over `http` even on a `https` loaded page.
Causing the browser bar to change from green to yellow ![non-secure content loaded icon](http://i.imgur.com/c4GpwCQ.png )
2014-10-18 16:42:21 +01:00
lidlanca
432aa76221
var are you?
2014-10-14 20:38:59 -04:00
lidlanca
17febe4914
Fix: Set title for multiple youtube video player with the same ID (don't rely on id to set title)
...
When an identical youtube video is embedded multiple times on the same page.
it will only be successful setting title to 1st element in the dom matching a unique id which is based on the actual youtube video id.
2014-10-14 19:50:42 -04:00
Marcin Rataj
d1e471978a
UX: fix typo in lazyYT.css
2014-09-25 02:21:03 +02:00
Marcin Rataj
f406443891
UX: improve readability of video title in lazyYT plugin
2014-09-23 22:13:32 +02:00
riking
277b7dc831
Update LazyYT for new onebox version
...
Much simpler code!
2014-08-22 12:21:02 -07:00
Arpit Jalan
f92b69ed2f
FIX: lazyYT youtube links not getting included in email
2014-08-23 00:21:31 +05:30
Robin Ward
91f08ad661
Merge pull request #2595 from techAPJ/patch-4
...
FIX: lazyYT mobile layout
2014-07-28 11:30:11 -04:00
Arpit Jalan
5db65486f0
FIX: lazyYT mobile layout
2014-07-28 12:04:48 +05:30
Arpit Jalan
b11d98bcfb
FIX: support start time in lazyYT
2014-07-26 18:41:21 +05:30
Arpit Jalan
a8fe55bca9
no need to register es6 files
2014-07-22 21:32:46 +05:30
Arpit Jalan
a711575947
FEATURE: ship lazyYT plugin by default
2014-07-22 08:19:01 +05:30