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

Simple "YouTube" canvas #226

Open
tomcrane opened this issue Feb 20, 2023 · 0 comments
Open

Simple "YouTube" canvas #226

tomcrane opened this issue Feb 20, 2023 · 0 comments
Labels

Comments

@tomcrane
Copy link
Contributor

This is designed to accommodate the special case seen in Delft Exhibitions where a Canvas carries a YouTube video.

It's not the general AV support use case (that can come later).

For this special kind of exhibition Canvas, only one piece of data is needed - the Youtube embded URL (which may have a start time).

Example:

                            "type": "Annotation",
                            "body": {
                                "id": "https://www.youtube.com/watch?v=popa6e9Sv5E",
                                "type": "Video",
                                "service": [
                                    {
                                        "profile": "http://digirati.com/objectifier",
                                        "params": {
                                            "data": "https://www.youtube.com/embed/popa6e9Sv5E?start=89"
                                        }
                                    }
                                ]
                            }

(this is using the object tag model, we can switch - see https://github.com/digirati-co-uk/delft-exhibition-converter/blob/11a9c713a25862f5c4f0c8a99654b2d8d9b40370/main.py#L400)

The difficulty in this task is not allowing such a canvas to be created or edited in the manifest editor - it only needs one piece of data and we don't even need to render the video in the editing environment. The difficulty is in presenting this option as a special type of canvas - we don't want people to make this type of Youtube canvas unless they are building a Delft exhibition.

Example manifest is at https://digirati-co-uk.github.io/delft-exhibition-converter/converted/novieten.json

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

No branches or pull requests

1 participant