Created
May 4, 2012 10:15
-
-
Save jcleveley-zz/2593813 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- XML from candy--> | |
<video media-id="57519164"> | |
<caption>Different caption for the same video</caption> | |
</video> | |
<!-- HTML via XSLT--> | |
<video id="video-57519164"></video> | |
<!-- JS added into page by php from candy meta --> | |
<script> | |
require(['VideoHandler'], function(VideoHandler){ | |
VideoHandler.add({ | |
id: 'video-57519164', | |
width: 999, | |
height: 888, | |
href: '', | |
// etc | |
}); | |
VideoHandler.add({ | |
id: 'video-2', | |
width: 999, | |
height: 888, | |
href: '', | |
// etc | |
}); | |
}); | |
</script> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Or we could have a global object (durn dur duuurn) which describes the meta of the page (inbcluding the video)?