@shobhitsharma shobhitsharma released this Nov 1, 2018 · 4 commits to master since this release

Assets 2

Fixed issue with instagram embeding. Due to recent security changes in instagram's origin policy, there was an issue with CORB request. It is now handled by using simple XMLHttpRequest request instead of jsonp call. However, a boolean option as jsonp can be set with instagram options explicitly to fallback to old behaviour, in case if instagram changes policy in future again.

@shobhitsharma shobhitsharma released this Aug 16, 2018 · 6 commits to master since this release

Assets 2
  • fix Fixed Pinterest error handler with setInterval adding unnecessary microtasks which threw error even during success.
  • other Refactoring of codebase. Bumped default FB sdk version to v3.1.

@shobhitsharma shobhitsharma released this Nov 16, 2017 · 14 commits to master since this release

Assets 2
  • fix Deprecated window.postMessage handler to resolve circular JSON issue caused by async calls in chain.

@shobhitsharma shobhitsharma released this Oct 21, 2017 · 18 commits to master since this release

Assets 2
  • update Added support for facebook page, comments or individual comment supporting all HTML5 based data-* options support mentioned in documentation.

@shobhitsharma shobhitsharma released this Oct 21, 2017 · 21 commits to master since this release

Assets 2
  • fix Pinterest post height wasn't scaling properly due to miscalculated size.

@shobhitsharma shobhitsharma released this Oct 15, 2017 · 27 commits to master since this release

Assets 2
  • updated Centerize update from last version caused erratic rendering in modern browsers due to table/table-cell internal floating rules. This behavior is stabilized by switching back to flex display and it is recommended to switch current version. For IE10 or lower, polyfills might help.

@shobhitsharma shobhitsharma released this Oct 13, 2017 · 30 commits to master since this release

Assets 2
  • updated Removed flex centering and switched to table/table-cell centering which works well with IE10+.
  • added New native flag option as centerize which is(or previously) enabled by default, but now its possible to deactivate it so embedded item will behave normal giving better control.
  • added Support for width or height dimensions in % or vw/vh and optimized calculations more accurately ensuring cross-browser conditions.
  • updated/breaking-change postMessage listener now returns an array of value instead of string. So previously from type string as "embed.rendered:{stringified_data_object}" it will now be Array as ['embedo', 'rendered', {stringified_data_object}].
  • updated Optimized callback condition for instagram and pinterest cases.
  • added Documentation moved to Github Wiki here.

@shobhitsharma shobhitsharma released this Oct 4, 2017 · 38 commits to master since this release

Assets 2
  • patched Added height support for twitter timelines embed.
  • patched Ensuring a callback is returned when <video> element(s) loaded.
  • updated Added documentation and separated into detailed layers with Wiki. See more here

@shobhitsharma shobhitsharma released this Oct 4, 2017 · 42 commits to master since this release

Assets 2
  • updated Facebook regex to allow triggering oembed API for all Pages, as they are in public scope which allows to be embed on cross domains. cc: https://www.regexpal.com/94994
  • updated Ensuring values sent as string must be transpiled to valid Number (if not %, px or others) which may have caused issue for oembed APIs such as pinterest or facebook.
  • patched Returning errors during failure in embed for cases when no SDK is inserted or element is not generated.