Skip to content
View Common Cartridges in the browser
Branch: master
Clone or download
jor3l Merge pull request #146 from instructure/unpublished-files
show unpublished files as unpublished
Latest commit a75ac89 Apr 2, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public Merge pull request #146 from instructure/unpublished-files Apr 2, 2019
src Merge pull request #146 from instructure/unpublished-files Apr 2, 2019
tests
.eslintrc.json
.gitignore Begin use of local already-extracted cartridge for tests (#65) Dec 10, 2018
.linguirc
.prettierrc.json Add back to all items button at resource component Nov 27, 2018
.travis.yml Initial commit Aug 28, 2018
DEVELOPMENT.md DEVELOPMENT.md; fix iframe demo (#85) Dec 15, 2018
Dockerfile
LICENSE Initial commit Aug 28, 2018
README.md DEVELOPMENT.md; fix iframe demo (#85) Dec 15, 2018
docker-compose.yml Dockerize CCV for development (#49) Dec 3, 2018
package.json
superstatic.json Begin use of local already-extracted cartridge for tests (#65) Dec 10, 2018
yarn.lock

README.md

Common Cartridge Viewer

View Common Cartridges in the browser. Methods:

  • Load a CORS-enabled remote .imscc or .zip cartridge
  • Load a CORS-enabled exracted cartridge by pointing to its imsmanifest.xml
  • Drop and drop a cartridge into the viewer

Demo

https://common-cartridge-viewer.netlify.com

Quick start

git clone https://github.com/instructure/common-cartridge-viewer.git
cd common-cartridge-viewer
yarn
yarn run build # populates locale data
yarn start

Usage examples

Load an extracted cartridge

<iframe
  sandbox="allow-scripts allow-same-origin"
  src="https://common-cartridge-viewer.netlify.com/?manifest=https://common-cartridge-viewer.netlify.com/test-cartridges/course-1/imsmanifest.xml"
></iframe>

Load a compressed cartridge

<iframe
  sandbox="allow-scripts allow-same-origin"
  src="https://common-cartridge-viewer.netlify.com/?cartridge=https://s3.amazonaws.com/public-imscc/facc0607309246638c298c6a1b01abcf.imscc"
></iframe>
You can’t perform that action at this time.