aboutsummaryrefslogtreecommitdiffstats
path: root/notes.md
diff options
context:
space:
mode:
authorSam Potts <me@sampotts.me>2017-06-04 15:27:37 +1000
committerSam Potts <me@sampotts.me>2017-06-04 15:27:37 +1000
commit7daa08c32f9a85512e4ff946fcbb572bf4bb1c7b (patch)
treef8598af3a2e2c03382a3bd0addee82a0338da2a9 /notes.md
parentaaab9ad0829d2fff895316797826d23f294ac966 (diff)
downloadplyr-7daa08c32f9a85512e4ff946fcbb572bf4bb1c7b.tar.lz
plyr-7daa08c32f9a85512e4ff946fcbb572bf4bb1c7b.tar.xz
plyr-7daa08c32f9a85512e4ff946fcbb572bf4bb1c7b.zip
Change to proper constructor + prototypes
Diffstat (limited to 'notes.md')
-rw-r--r--notes.md30
1 files changed, 29 insertions, 1 deletions
diff --git a/notes.md b/notes.md
index c71bfc0f..3adf38c9 100644
--- a/notes.md
+++ b/notes.md
@@ -40,7 +40,35 @@
- Added `playsinline` support for iOS 10
- Embed setup now accepts an <iframe> as the target element for true progressive enhancement
-#### Breaking changes
+## Changes
+
+### Config changes
+- videoWrapper -> video
+- embedWrapper -> embed
+- setup and ready classes removed
+
+### API changes
+- Can now chain most functions (need to document which can)
+- support -> supports
+- isFullscreen -> fullscreen.active
+- new 'language'
+- getType -> type
+- getEmbed -> embed
+- getContainer removed
+- getMedia -> media
+- getCurrentTime -> media.currentTime
+- getVolume -> media.volume
+- isMuted -> media.muted
+- isLoading -> media.loading
+- isPaused -> media.paused
+- updatePoster -> poster
+- setVolume -> volume
+- increaseVolume (new)
+- decreaseVolume (new)
+- togglePictureInPicture (new)
+- airPlay (new)
+
+#### Other breaking changes
- New config options for loop
- Selectors changes (new `input` and `display` object) - DOCUMENT
- Custom HTML option now `controls` which accepts a string (HTML), a function (your own template engine) or array (use built in controls)