motionbank / score-system-frontend

Backbone.js based single app frontend for our score websites.
1 stars 1 forks source link

possibility to trigger another vimeo-cell when finished playing #40

Closed martinleopold closed 10 years ago

martinleopold commented 10 years ago

there is currently only one instance of post messenger. this is fine for sending data into different iframes.

but when registering callbacks for a specific event (say vimeo 'ready'), only the first event of that name gets registered. thus its impossible to register a ready event for several vimeo iframes. only the first one will get the callback.

I think we need to either have multiple instances of postmessenger, one for each video. Or one instance with the capability to register multiple callbacks of the same name and a possibility to determine the source of the event.

fjenett commented 10 years ago

This seems resolved now, yes?

martinleopold commented 10 years ago

fully implemented since f7af97c93fbab0736e72420d2a04d9f048040db1