Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow files to be requested by URL in /player/ #55

Open
DevonJames opened this issue May 29, 2017 · 1 comment
Open

Allow files to be requested by URL in /player/ #55

DevonJames opened this issue May 29, 2017 · 1 comment
Assignees

Comments

@DevonJames
Copy link
Member

DevonJames commented May 29, 2017

Many artifacts will have more than one file, so we need to be able to call a file in the URL so that /player/ knows what to play.
I suggest:
host/application/artifact?file=#
example:
https://alexandria.io/player/fc2a5a?file=1

Note, please use the array ID for the file requested, starting at 0.

(yes i know that for now it will be https://alexandria.io/browser/player/fc2a5a?file=1)

@copernicus-mogley
Copy link
Member

There was discussion of using query operators in the URL for handling files, like https://alexandria.io/player/fc2a5a?file=1
This might scale better than using #, as we add more features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants