You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 7, 2020. It is now read-only.
Edward Silverton edited this page Oct 31, 2013
·
7 revisions
When clicking on the Wellcome Player's embed button in the footer you will see a dialogue similar to those provided by video sharing sites that allows you to copy and paste some code to embed the player in your own site.
This consists of a div with data attributes:
data-uri: The path to the data package you wish to display
data-assetsequenceindex: For packages with more than one asset sequence e.g.
http://wellcomelibrary.org/osplayer/b18031511
this specifies which asset sequence (in this example which volume of the book) to load.
data-assetindex: The initial asset index to load (page index in the previous example).
data-zoom: An attribute specific to image asset sequences viewed with the Seadragon Extension which specifies an initial zoom level.
Plus a script to load embed.js which handles creating an iframe housing the player page within the containing div.