Oembed Link With Total Slides & postMessage With Current Slide Number In Event
I am in the process of building an LMS that is capable of tracking progress for a variety of media types. I have found that many of the embedded iframes provided by companies that share media do not provide a simple solution for a developer to easily track progress of a client through the embedded content. Props to your team for using postMessage.
First off, it would be incredible if slides.com could provide an oembed route (https://oembed.com/) so developers could easily lookup and embed public presentations from just a link to the presentation (aka https://slides.com/oembed?format=[json/jsonp/etc]&url=http://slides.com/news/make-better-presentations#/).
In that, it would be important to have some way to figure out from the postMessage events the current progress in the presentation in addition to the provided indexh / indexv values. If not a percentage value, it would be awesome to have some way to get the total count of slides from the OEmbed JSON (like what slideshare provides) and have a current slide number broadcast within the postMessage event.