Hi David, The lenses must inject different iframe elements depending on the type of the video resources: youtube[1] or googledocs[2] or other. I had problems if I wanted to modify existing DOM (i.e. changing attributes to existing iframe), but I could add elements to the lenses' div [3]
[1] http://goo.gl/M4Ordg [2] http://goo.gl/R56GMW [3] https://goo.gl/e6S0VZ Saludos, -- luismiguel (@lmorillas) 2015-06-15 16:55 GMT+02:00 David Karger <[email protected]>: > What did you solve? What wasn't working, and how did you fix it? > > > On 6/12/2015 4:45 PM, Luis Miguel Morillas wrote: >> >> Solved. >> >> My example with dom injected at >> http://programaseducativosaragon.es/visualizaciones/recursos.html >> >> >> >> Saludos, >> >> -- luismiguel (@lmorillas) >> >> >> 2015-06-11 17:50 GMT+02:00 Luis Miguel Morillas <[email protected]>: >>> >>> I'm having problems running data-ex-onshow. I want to inject content >>> in lenses. Basically, I must show differente videos so I must inject >>> the right iframe depending on the source of the video (youtube, vimeo, >>> etc) >>> >>> Is it posible with this function and event? exhibit triggers the event >>> and funcion ( I can see console logs) but I can't change the iframe. >>> >>> Do you have any running example about using data-ex-onshow ? >>> >>> I'm using these old docs [1] and I dont know if it runs now with exhibit >>> 3. >>> >>> [1] >>> http://article.gmane.org/gmane.comp.web.simile.general/2336/match=a+few+new+features+to+exhibit+2.0+beta >>> [2] http://simile-widgets.org/wiki/Exhibit/Lens_Templates >>> >>> >>> Saludos, >>> >>> -- luismiguel (@lmorillas) > > > -- > You received this message because you are subscribed to the Google Groups > "SIMILE Widgets" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/simile-widgets. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/simile-widgets. For more options, visit https://groups.google.com/d/optout.
