Giter VIP home page Giter VIP logo

oembed2's People

Contributors

iparamonau avatar nleush avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

oembed2's Issues

Initial parent-iframe handshake

See general JS events/methods description by @bdougherty in #1.

For general discovery, there is an idea to add initial handshake, where iFrame will post a Message to the parent with the list of events/functions it supports and that parent can use.

Anyone would like to share of thoughts how to do it?

Also, take a look at the current spec where it says about method register with windowId.
Let's change it for general handshake mechanism, if we need one.

At the very lease, ID certainly makes it easy to communicate between parent and iFrame. We might, for example, also include format=JSON or =string communication on initial handshake, so parent knows in which format to communicate messages to iFrame. (@panzi please join)

Spec Seems Incomplete

I have a very basic page that returns:

<!DOCTYPE html>
<html>
  <head>
    <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="https://betterdx-survey-2v73ynd6da-uc.a.run.app/services/iframely/bdd844dc-1230-11eb-adc1-0242ac120002" media="(min-width:100) and (min-height:100)" rel="iframely survey" title="asdf" type="text/html">
  </head>
  <body>hello, world</body>
</html>

But this service doesn't work in http://debug.iframely.com/ and when I try it in https://iframely.com/embed it says:

Sorry...
Iframely needs at least a thumbnail image to be able to generate a summary card.

I'm not sure what else needs to be there for this to work.

Players: Event model for Playback Sync

Here's a quote of what we need community help with here:

  • playback - for player indicating that widget supports JavaScript or window.postMessage API to control media playback. With the list of calls, similar to what YouTube, Vimeo and Soundcloud have.

So in a sense, the task is to synchronize the spec of those three providers that all of them have probability to potentially adapt in the future. Cross-provider playback sync is critical for a lot of apps. At the moment they have to rely on removing/adding players in DOM to control user experience.

We already have some of the general events in the spec (like the ones that register the iframe and the one that resizes it on onload) - but it can be changed to accommodate the general approach.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.